|
@@ -214,10 +214,8 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string, rewardOpts map[string]*mo |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if err := json.Unmarshal([]byte(commissionOpt.Data), &subsidyTmp); err != nil { |
|
|
if err := json.Unmarshal([]byte(commissionOpt.Data), &subsidyTmp); err != nil { |
|
|
if masterId == "68823769" { |
|
|
|
|
|
fmt.Println("===========================分佣方案数据设置错误", commissionOpt) |
|
|
|
|
|
fmt.Println("===========================分佣方案数据设置错误", err) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
fmt.Println("===========================分佣方案数据设置错误", commissionOpt) |
|
|
|
|
|
fmt.Println("===========================分佣方案数据设置错误", err) |
|
|
return nil, zhios_order_relate_logx.Warn(fmt.Sprintf("%s:分佣方案数据设置错误", masterId)) |
|
|
return nil, zhios_order_relate_logx.Warn(fmt.Sprintf("%s:分佣方案数据设置错误", masterId)) |
|
|
} |
|
|
} |
|
|
opt.UserRate = subsidyTmp |
|
|
opt.UserRate = subsidyTmp |
|
|