|
|
@@ -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 { |
|
|
|