作者 yangfu

build

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