From 59119f173a65fa20240822c90690b79b582b11b3 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Tue, 5 Dec 2023 11:12:48 +0800 Subject: [PATCH] update --- .../hdl/enterprise_manage/hdl_self_support_for_school.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go index 729f6ce..c473a37 100644 --- a/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go +++ b/app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go @@ -1331,8 +1331,8 @@ func SelfSupportForSchoolConsumeLimitList(c *gin.Context) { var list []md.SelfSupportForSchoolConsumeLimitListResp for _, v := range m { var rosterPeriodConsumeLimitConfigList []md.RosterPeriodConsumeLimitConfig - if v.SelfSupportForUserConsumeLimit.DailyMaxConsumeTimes != "" { - err = json.Unmarshal([]byte(v.SelfSupportForUserConsumeLimit.DailyMaxConsumeTimes), &rosterPeriodConsumeLimitConfigList) + if v.SelfSupportForUserConsumeLimit.RosterPeriodConsumeLimitConfigList != "" { + err = json.Unmarshal([]byte(v.SelfSupportForUserConsumeLimit.RosterPeriodConsumeLimitConfigList), &rosterPeriodConsumeLimitConfigList) if err != nil { e.OutErr(c, e.ERR, err.Error()) return