|
|
@@ -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 |
|
|
|