|
@@ -98,7 +98,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo |
|
|
opt := &comm_plan.PlanOpt{} |
|
|
opt := &comm_plan.PlanOpt{} |
|
|
// 根据供应商 |
|
|
// 根据供应商 |
|
|
rewardOpt := rewardOpts[pvd] |
|
|
rewardOpt := rewardOpts[pvd] |
|
|
if strings.Contains(pvd, "seFree") == false { |
|
|
|
|
|
|
|
|
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" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 { |
|
|
rewardOpt = rewardOpts["tikTokTeam"] |
|
|
rewardOpt = rewardOpts["tikTokTeam"] |
|
|
} |
|
|
} |
|
|