From f47d86be506352f615c74731f290dad3be9abb90 Mon Sep 17 00:00:00 2001 From: shenjiachi Date: Wed, 11 Dec 2024 14:40:59 +0800 Subject: [PATCH] update --- app/hdl/member_center/hdl_level__management.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/member_center/hdl_level__management.go b/app/hdl/member_center/hdl_level__management.go index d15d162..039f2a1 100644 --- a/app/hdl/member_center/hdl_level__management.go +++ b/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())