作者 yangfu

修改: 1.smscode 检查不校验token

@@ -22,6 +22,7 @@ func CheckJWTToken(ctx *context.Context) { @@ -22,6 +22,7 @@ func CheckJWTToken(ctx *context.Context) {
22 strings.HasSuffix(ctx.Request.RequestURI, "centerCompanys") || 22 strings.HasSuffix(ctx.Request.RequestURI, "centerCompanys") ||
23 strings.HasSuffix(ctx.Request.RequestURI, "companys") || 23 strings.HasSuffix(ctx.Request.RequestURI, "companys") ||
24 strings.HasSuffix(ctx.Request.RequestURI, "loginV2") || 24 strings.HasSuffix(ctx.Request.RequestURI, "loginV2") ||
  25 + strings.HasSuffix(ctx.Request.RequestURI, "checkSmsCode") ||
25 strings.HasSuffix(ctx.Request.RequestURI, "changePhone") || 26 strings.HasSuffix(ctx.Request.RequestURI, "changePhone") ||
26 strings.HasSuffix(ctx.Request.RequestURI, "resetPassword") || 27 strings.HasSuffix(ctx.Request.RequestURI, "resetPassword") ||
27 strings.HasSuffix(ctx.Request.RequestURI, "changePassword") { 28 strings.HasSuffix(ctx.Request.RequestURI, "changePassword") {