Browse Source

修改提示

Simon Zhou 5 years ago
parent
commit
61428f5698
1 changed files with 1 additions and 1 deletions
  1. 1 1
      token/token.go

+ 1 - 1
token/token.go

@@ -45,7 +45,7 @@ func Auth() gin.HandlerFunc {
 			loginid := s[0]
 			loginid := s[0]
 			if err := CheckToken(loginid, token); err != nil {
 			if err := CheckToken(loginid, token); err != nil {
 				code = 3002
 				code = 3002
-				msg = err.Error()
+				msg = "token校验失败"
 			}
 			}
 		}
 		}