Преглед на файлове

Merge remote-tracking branch 'origin/master'

master
DengBiao преди 10 месеца
родител
ревизия
472f4031dc
променени са 1 файла, в които са добавени 1 реда и са изтрити 2 реда
  1. +1
    -2
      svc/get_plan_cfg.go

+ 1
- 2
svc/get_plan_cfg.go Целия файл

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

if pvd == "kuaishou" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["kuaishouTeam"] != nil && rewardOpts["kuaishouTeam"].PlanCommissionId > 0 { if pvd == "kuaishou" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["kuaishouTeam"] != nil && rewardOpts["kuaishouTeam"].PlanCommissionId > 0 {
rewardOpt = rewardOpts["kuaishouTeam"] rewardOpt = rewardOpts["kuaishouTeam"]
} }


Зареждане…
Отказ
Запис