From 59a1538a894d915790097148388aa3c5affb6ad4 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 19 Feb 2024 14:15:23 +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 --- svc/get_plan_cfg.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/svc/get_plan_cfg.go b/svc/get_plan_cfg.go index fe9953a..c817a80 100644 --- a/svc/get_plan_cfg.go +++ b/svc/get_plan_cfg.go @@ -99,10 +99,9 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo // 根据供应商 rewardOpt := rewardOpts[pvd] if strings.Contains(pvd, "seFree") == false && strings.Contains(pvd, "moreFree") == false { - if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 { + if (pvd == "tikTok" || pvd == "csjp") && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 { rewardOpt = rewardOpts["tikTokTeam"] } - if pvd == "kuaishou" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["kuaishouTeam"] != nil && rewardOpts["kuaishouTeam"].PlanCommissionId > 0 { rewardOpt = rewardOpts["kuaishouTeam"] }