优化部分错误码

This commit is contained in:
Sun
2024-01-24 13:55:28 +08:00
parent 863cdf0fc1
commit e0dcc49f5b
6 changed files with 10 additions and 12 deletions
+2 -1
View File
@@ -28,7 +28,8 @@ func (a *ItemIcon) Edit(c *gin.Context) {
}
if req.ItemIconGroupId == 0 {
apiReturn.Error(c, "Group is mandatory")
// apiReturn.Error(c, "Group is mandatory")
apiReturn.ErrorParamFomat(c, "Group is mandatory")
return
}