From f296e7bbb89adf8cca80cd0d6a2cd37be0d2864f Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 7 Jul 2022 10:21:14 +0800 Subject: [PATCH] =?UTF-8?q?add=20reverse:for=20v1.1.4=20=E5=88=86=E4=BD=A3?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- svc/get_plan_cfg.go | 1 + 1 file changed, 1 insertion(+) diff --git a/svc/get_plan_cfg.go b/svc/get_plan_cfg.go index 95d3c32..4c8de3c 100644 --- a/svc/get_plan_cfg.go +++ b/svc/get_plan_cfg.go @@ -75,6 +75,7 @@ func GetPlanCfg(eg *xorm.Engine, pvd, masterId string) (*comm_plan.PlanOpt, erro } var subsidyTmp map[int]*comm_plan.LvGrade commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, "\"bili\":0", "\"bili\":\"0\"") + commissionOpt.Data = strings.ReplaceAll(commissionOpt.Data, "\"buy_deliver_list\":[]", "\"buy_deliver_list\":{}") if strings.Contains(commissionOpt.Data, "\"subsidy_mode_list\":[") { //兼容旧的方案 tmp := strings.Split(commissionOpt.Data, "\"subsidy_mode_list\":[") if len(tmp) > 0 {