Browse Source

更新

master
huangjiajun 1 year ago
parent
commit
b6bb92af42
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

@@ -83,7 +83,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
rewardOpt = rewardOpts["kuaishouTeam"] rewardOpt = rewardOpts["kuaishouTeam"]
} }
} }
if pvd == md.PVD_JDOwn && rewardOpts["jd_own"] == nil {
if pvd == md.PVD_JDOwn && (rewardOpts["jd_own"] == nil || (rewardOpts["jd_own"] != nil && rewardOpts["jd_own"].PlanCommissionId == 0)) {
rewardOpt = rewardOpts["jd"] rewardOpt = rewardOpts["jd"]
} }
if rewardOpt == nil { if rewardOpt == nil {


Loading…
Cancel
Save