DengBiao 11ヶ月前
コミット
59119f173a
1個のファイルの変更2行の追加2行の削除
  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 ファイルの表示

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


読み込み中…
キャンセル
保存