瀏覽代碼

update

tmp
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


Loading…
取消
儲存