优化部分错误码

This commit is contained in:
Sun committed 2024-01-24 13:55:28 +08:00
1 parent 863cdf0fc1
commit e0dcc49f5b
6 files changed
+10 -12

No files matched your search

+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
}