瀏覽代碼

更新

master
huangjiajun 1 年之前
父節點
當前提交
bf0036221e
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. +3
    -0
      svc/get_plan_cfg.go

+ 3
- 0
svc/get_plan_cfg.go 查看文件

@@ -50,6 +50,9 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 {
rewardOpt = rewardOpts["tikTokTeam"]
}
if pvd == "kuaishou" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["kuaishouTeam"] != nil && rewardOpts["kuaishouTeam"].PlanCommissionId > 0 {
rewardOpt = rewardOpts["kuaishouTeam"]
}
if rewardOpt == nil {
return nil, zhios_order_relate_logx.Warn("找不到方案记录")
}


Loading…
取消
儲存