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