huangjiajun pirms 1 gada
vecāks
revīzija
b6bb92af42
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      svc/get_plan_cfg.go

+ 1
- 1
svc/get_plan_cfg.go Parādīt failu

@@ -83,7 +83,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
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"]
}
if rewardOpt == nil {


Notiek ielāde…
Atcelt
Saglabāt