From 483be3c28bf11c87a6f80c81e1775ea16fd081d7 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Tue, 12 Jul 2022 19:26:41 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.3.3=20=E5=85=AC=E6=8E=92?= =?UTF-8?q?=E5=88=B6=E5=BA=A6=E9=9B=86=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/get_plan_cfg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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