允许uayu

This commit is contained in:
2024-04-09 10:43:17 +08:00
parent 57fe832e38
commit ce06c5a0d4
13 changed files with 180 additions and 213 deletions
@@ -88,7 +88,8 @@ func Error(ctx *gin.Context, errMsg string) {
// 返回错误 需要个性化定义的错误|带返回数据的错误
func ErrorNoAccess(ctx *gin.Context) {
ErrorCode(ctx, 1005, global.Lang.Get("common.no_access"), nil)
ErrorCode(ctx, 1005, "noAccess", nil)
}
// 返回错误 参数错误