|
|
@@ -48,7 +48,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string) (*comm_plan.PlanOpt, erro |
|
|
|
if err != nil || commissionOpt == nil || commissionOpt.Id == 0 { |
|
|
|
return nil, err |
|
|
|
} |
|
|
|
if _, ok := comm_plan.Fn[commissionOpt.Mode]; !ok { |
|
|
|
if _, ok := comm_plan.Fn[commissionOpt.Mode]; !ok && commissionOpt.Mode != "public_platoon" { |
|
|
|
return nil, zhios_order_relate_logx.Warn("分佣模式不存在") |
|
|
|
} |
|
|
|
opt.Pvd = pvd |
|
|
|