zhangxinlei1996 %!s(int64=4) %!d(string=hai) anos
pai
achega
42f729203a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/jfw/modules/bigmember/src/filter/sessionfilter.go

+ 1 - 1
src/jfw/modules/bigmember/src/filter/sessionfilter.go

@@ -34,7 +34,7 @@ func (l *sessionfilter) Do(w http.ResponseWriter, req *http.Request) bool {
 	if status != 1 && expertReg.MatchString(req.URL.Path) {
 		R.ServeJson(w, req, &Result{Error_code_1004, Error_msg_1004, nil})
 		return false
-	} else if (status != 2 || status != 3) && wisdomReg.MatchString(req.URL.Path) {
+	} else if (status != 2 && status != 1) && wisdomReg.MatchString(req.URL.Path) {
 		R.ServeJson(w, req, &Result{Error_code_1004, Error_msg_1004, nil})
 		return false
 	}