作者 yangfu

build

... ... @@ -176,7 +176,7 @@ func CheckToken(ctx *context.Context) (result bool) {
)
token := ctx.Input.Header("x-mmm-accesstoken")
if token == "" {
if strings.HasSuffix(ctx.Request.RequestURI, "login") ||
if strings.HasSuffix(ctx.Request.RequestURI, "loginModule") ||
strings.HasSuffix(ctx.Request.RequestURI, "accessToken") ||
strings.HasSuffix(ctx.Request.RequestURI, "refreshToken") {
return true
... ...