|
@@ -157,7 +157,7 @@ func UpdateLevel(c *gin.Context) { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
level.LevelWeight = utils.StrToInt(req.IsUse) |
|
|
|
|
|
|
|
|
level.IsUse = utils.StrToInt(req.IsUse) |
|
|
forceColumns = append(forceColumns, "is_use") |
|
|
forceColumns = append(forceColumns, "is_use") |
|
|
} |
|
|
} |
|
|
if req.AutoUpdate == "0" || req.AutoUpdate == "1" { |
|
|
if req.AutoUpdate == "0" || req.AutoUpdate == "1" { |
|
|