|
@@ -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
|
|
|
}
|