Browse Source

改版token验证规则

abiao 4 years ago
parent
commit
68a10d0a93
1 changed files with 0 additions and 18 deletions
  1. 0 18
      go/gopath/src/fohow.com/apps/init.go

+ 0 - 18
go/gopath/src/fohow.com/apps/init.go

@@ -537,24 +537,6 @@ func (self *BaseController) Prepare() {
 			}
 		}
 	}
-	/*
-		<<<<<<< HEAD
-				// FIXME : userId 与 wxUserId已统一,故不做userid登录check
-		=======
-				// FIXME : userId 与 wxUserId已统一
-		>>>>>>> b24580bdd09b3e2b6278d2deb8d368bb9c21d652
-				if len(self.ExceptCheckUserLoginAction) > 0 {
-					for _, an := range self.ExceptCheckUserLoginAction {
-						if strings.ToLower(an) == "*" || strings.ToLower(an) == strings.ToLower(actionName) {
-							needChkUserLogin = false
-							break
-						}
-					}
-				}
-				if needChkUserLogin {
-					checkUserLogin(self.Ctx)
-				}
-	*/
 
 	if needChkWxUserLogin {
 		checkWxUserLogin(self.Ctx)