| | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.lf.server.entity.all.HttpStatus; |
| | | import com.lf.server.entity.all.ResponseMsg; |
| | | import com.lf.server.entity.all.SettingData; |
| | | import com.lf.server.entity.all.StaticData; |
| | | import com.lf.server.entity.sys.UserEntity; |
| | | import com.lf.server.helper.StringHelper; |
| | | import com.lf.server.helper.WebHelper; |
| | |
| | | */ |
| | | private static boolean noNeedAuth(HttpServletRequest request) { |
| | | String uri = request.getRequestURI().toLowerCase(); |
| | | for (String page : SettingData.EXCLUDE_PATH) { |
| | | for (String page : StaticData.EXCLUDE_PATH) { |
| | | if (uri.contains(page)) { |
| | | return true; |
| | | } |