|
@@ -158,7 +158,7 @@ func DataCenterOriginalDataTotal(c *gin.Context, req md.DataCenterOriginalDataCo |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
//分成策略 |
|
|
//分成策略 |
|
|
NewMediumDivisionStrategyDb := implement.NewMediumDivisionStrategyDb(MasterDb(c)) |
|
|
|
|
|
|
|
|
NewMediumDivisionStrategyDb := implement.NewMediumDivisionStrategyDb(db.Db) |
|
|
strategy, _ := NewMediumDivisionStrategyDb.GetOriginalWxAdDataByMediumId(appid.MediumId) |
|
|
strategy, _ := NewMediumDivisionStrategyDb.GetOriginalWxAdDataByMediumId(appid.MediumId) |
|
|
if strategy == nil { |
|
|
if strategy == nil { |
|
|
e.OutErr(c, 400, e.NewErr(400, "分成策略不存在")) |
|
|
e.OutErr(c, 400, e.NewErr(400, "分成策略不存在")) |
|
|