From 7a54108b8c6de339bb9a2688b88e7ec884ff6579 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 23 May 2023 18:04:18 +0800 Subject: [PATCH] update --- app/db/dbs_map.go | 2 +- consume/init.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/db/dbs_map.go b/app/db/dbs_map.go index 0d12a24..a3414e5 100644 --- a/app/db/dbs_map.go +++ b/app/db/dbs_map.go @@ -25,7 +25,7 @@ func InitMapDbs(c *cfg.DBCfg, prd bool) { if prd { tables = GetAllDatabasePrd() //debug 获取生产 } else { - tables = GetAllDatabasePrd() //debug 获取开发 + tables = GetAllDatabaseDev() //debug 获取开发 } if tables == nil { diff --git a/consume/init.go b/consume/init.go index 274d86c..9ca2992 100644 --- a/consume/init.go +++ b/consume/init.go @@ -20,11 +20,11 @@ func initConsumes() { jobs[consumeMd.CanalOrderConsumeFunName] = CanalOrderConsume jobs[consumeMd.CanalGuideOrderConsumeFunName] = CanalGuideOrderConsume jobs[consumeMd.ZhiOsUserVisitIpAddressConsumeFunName] = ZhiOsUserVisitIpAddressConsume - jobs[consumeMd.DouShenUserRegisterConsumeForOfficialFunName] = DouShenUserRegisterConsumeForOfficial - jobs[consumeMd.DouShenUserRegisterConsumeForOperationCenterFunName] = DouShenUserRegisterConsumeForOperationCenter + //jobs[consumeMd.DouShenUserRegisterConsumeForOfficialFunName] = DouShenUserRegisterConsumeForOfficial + //jobs[consumeMd.DouShenUserRegisterConsumeForOperationCenterFunName] = DouShenUserRegisterConsumeForOperationCenter jobs[consumeMd.DouShenUserRegisterConsumeForUserRegisterUpLvFunName] = DouShenUserRegisterConsumeForUserRegisterUpLv - jobs[consumeMd.DouShenUserRegisterConsumeForMyRecommenderFunName] = DouShenUserRegisterConsumeForMyRecommender - jobs[consumeMd.DouShenUserRegisterConsumeForMyFansFunName] = DouShenUserRegisterConsumeForMyFans + //jobs[consumeMd.DouShenUserRegisterConsumeForMyRecommenderFunName] = DouShenUserRegisterConsumeForMyRecommender + //jobs[consumeMd.DouShenUserRegisterConsumeForMyFansFunName] = DouShenUserRegisterConsumeForMyFans jobs[consumeMd.ZhiosFastReturnOrderPayFunName] = ZhiosFastReturnOrderPay jobs[consumeMd.ZhiosFastReturnOrderSuccessFunName] = ZhiosFastReturnOrderSuccess jobs[consumeMd.ZhiosFastReturnOrderRefundFunName] = ZhiosFastReturnOrderRefund