DengBiao 11 månader sedan
förälder
incheckning
59119f173a
1 ändrade filer med 2 tillägg och 2 borttagningar
  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 Visa fil

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


Laddar…
Avbryt
Spara