support upload file from clipboard

This commit is contained in:
RockYang
2024-07-17 10:23:02 +08:00
parent 246b023624
commit 37368fe13f
9 changed files with 59 additions and 16 deletions

View File

@@ -139,7 +139,7 @@ func authorizeMiddleware(s *AppServer, client *redis.Client) gin.HandlerFunc {
if tokenString == "" {
if needLogin(c) {
resp.ERROR(c, "You should put Authorization in request headers")
resp.NotAuth(c, "You should put Authorization in request headers")
c.Abort()
return
} else { // 直接放行