diff --git a/svc/get_plan_cfg.go b/svc/get_plan_cfg.go index 9f177a6..874c59c 100644 --- a/svc/get_plan_cfg.go +++ b/svc/get_plan_cfg.go @@ -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