zhangxinlei1996 4 년 전
부모
커밋
42f729203a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 	}