瀏覽代碼

Merge remote-tracking branch 'origin/master'

master
huangjiajun 1 周之前
父節點
當前提交
53ae447739
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. +2
    -2
      app/hdl/member_center/hdl_level__management.go

+ 2
- 2
app/hdl/member_center/hdl_level__management.go 查看文件

@@ -146,7 +146,7 @@ func UpdateLevel(c *gin.Context) {
userDb := implement.NewUserDb(db.Db)
has, err := userDb.UserExistByParams(map[string]interface{}{
"key": "level",
"value": req.IsUse,
"value": req.LevelID,
})
if err != nil {
e.OutErr(c, e.ERR_DB_ORM, err.Error())
@@ -157,7 +157,7 @@ func UpdateLevel(c *gin.Context) {
return
}

level.LevelWeight = utils.StrToInt(req.IsUse)
level.IsUse = utils.StrToInt(req.IsUse)
forceColumns = append(forceColumns, "is_use")
}
if req.AutoUpdate == "0" || req.AutoUpdate == "1" {


Loading…
取消
儲存