From e5a5f7264649a81a88b45b36e7e9ce568ed1bf88 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 3 Sep 2024 09:31:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/svc/svc_data_center_original_data.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/svc/svc_data_center_original_data.go b/app/svc/svc_data_center_original_data.go index 8b82e3c..942e0f9 100644 --- a/app/svc/svc_data_center_original_data.go +++ b/app/svc/svc_data_center_original_data.go @@ -158,7 +158,7 @@ func DataCenterOriginalDataTotal(c *gin.Context, req md.DataCenterOriginalDataCo return } //分成策略 - NewMediumDivisionStrategyDb := implement.NewMediumDivisionStrategyDb(MasterDb(c)) + NewMediumDivisionStrategyDb := implement.NewMediumDivisionStrategyDb(db.Db) strategy, _ := NewMediumDivisionStrategyDb.GetOriginalWxAdDataByMediumId(appid.MediumId) if strategy == nil { e.OutErr(c, 400, e.NewErr(400, "分成策略不存在"))