瀏覽代碼

test

tags/v4.3.1
huangjiajun 1 年之前
父節點
當前提交
6fa61957e3
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      svc/get_plan_cfg.go

+ 1
- 1
svc/get_plan_cfg.go 查看文件

@@ -46,7 +46,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo
opt := &comm_plan.PlanOpt{}
// 根据供应商
rewardOpt := rewardOpts[pvd]
if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil {
if pvd == "tikTok" && rmd.IsTikTokTeamOrder == "1" && rewardOpts["tikTokTeam"] != nil && rewardOpts["tikTokTeam"].PlanCommissionId > 0 {
rewardOpt = rewardOpts["tikTokTeam"]
}
if rewardOpt == nil {


Loading…
取消
儲存