| | |
| | | boolean wsPush = requestURI.contains("wsPush"); |
| | | boolean wxCgi = requestURI.contains("cgi"); |
| | | boolean isShop = requestURI.contains("isShop"); |
| | | boolean batteryActivityPayNotify = requestURI.contains("batteryActivityPayNotify"); |
| | | boolean batteryPayNotify = requestURI.contains("batteryPayNotify"); |
| | | boolean tfLogin = requestURI.contains("tfLogin"); |
| | | boolean noToken = requestURI.contains("noToken"); |
| | | boolean listadvertisement = requestURI.contains("listadvertisement"); |
| | |
| | | safeboxRequestWrapper.addHeader("appid",request.getHeader("appid")); |
| | | if (login || doc || css || js || ui || swagger || ico || docs || error || refreshToken || useragreement || wxPay |
| | | // ||wxCgi||isShop||listadvertisement||noToken||bigscreen) { |
| | | || wxCgi || isShop || listadvertisement || noToken||uuRepay||kaphtcha||uuPush||tfLogin || wsPush) { |
| | | || wxCgi || isShop || listadvertisement || noToken||uuRepay||kaphtcha||uuPush||tfLogin||batteryActivityPayNotify||batteryPayNotify|| wsPush) { |
| | | // 什么也不做 |
| | | } else { |
| | | // 获取请求头中JWT的Token |
| | |
| | | noLoginUrl.add("/api/applets/enterprise/page"); |
| | | noLoginUrl.add("/api/applets/dpc/detail"); |
| | | noLoginUrl.add("/api/applets/dpc/page"); |
| | | noLoginUrl.add("/api/applets/wx/batteryPayNotify"); |
| | | noLoginUrl.add("/api/applets/wx/batteryActivityPayNotify"); |
| | | noLoginUrl.add("/api/communitybackstage/comBatteryCommodityOrder/syncCloseOrder"); |
| | | noLoginUrl.add("/api/applets/uu/getQRCode"); |
| | | noLoginUrl.add("/api/huacheng-applets/uu/getQRCode"); |
| | | if (noLoginUrl.contains(requestURI)) { |
| | | List<SimpleGrantedAuthority> authorities = new ArrayList<>(); |