Browse Source

test

tags/v4.3.1
huangjiajun 1 year ago
parent
commit
6fa61957e3
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      svc/get_plan_cfg.go

+ 1
- 1
svc/get_plan_cfg.go View File

@@ -46,7 +46,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
opt := &comm_plan.PlanOpt{}
// 根据供应商
rewardOpt := rewardOpts[pvd]
if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil {
if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 {
rewardOpt = rewardOpts["tikTokTeam"]
}
if rewardOpt == nil {


Loading…
Cancel
Save