Browse Source

update

tmp
DengBiao 11 months ago
parent
commit
59119f173a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go

+ 2
- 2
app/admin/hdl/enterprise_manage/hdl_self_support_for_school.go View File

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


Loading…
Cancel
Save