ppt制作用户基础信息日志

This commit is contained in:
junleea 2025-04-05 13:28:39 +08:00
parent cb051e55a1
commit f12afffab7
1 changed files with 1 additions and 0 deletions

View File

@ -107,6 +107,7 @@ func JWTAuthMiddleware() gin.HandlerFunc {
//如果请求为login或register则不需要验证token
for k, _ := range proto.Url_map {
if strings.Contains(c.Request.URL.Path, k) {
log.Println("need not check token:", c.Request.URL.Path)
c.Next()
return
}