zhangxinlei1996 4 năm trước cách đây
mục cha
commit
42f729203a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 	}