| | |
| | | boolean tfLogin = requestURI.contains("tfLogin"); |
| | | boolean noToken = requestURI.contains("noToken"); |
| | | boolean listadvertisement = requestURI.contains("listadvertisement"); |
| | | boolean flowerWxNotify = requestURI.contains("flowerWxNotify"); |
| | | // boolean bigscreen = requestURI.contains("/bigscreen/party"); |
| | | // boolean pageworkguide = !requestURI.contains("workguide/pageworkguide"); |
| | | // boolean detailworkguide = !requestURI.contains("workguide/detailworkguide"); |
| | |
| | | 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||batteryActivityPayNotify||batteryPayNotify|| wsPush||flowerWxNotify) { |
| | | || wxCgi || isShop || listadvertisement || noToken||uuRepay||kaphtcha||uuPush||tfLogin||batteryActivityPayNotify||batteryPayNotify|| wsPush) { |
| | | // 什么也不做 |
| | | } else { |
| | | // 获取请求头中JWT的Token |
| | |
| | | noLoginUrl.add("/api/communitybackstage/comBatteryCommodityOrder/syncCloseOrder"); |
| | | noLoginUrl.add("/api/applets/uu/getQRCode"); |
| | | noLoginUrl.add("/api/huacheng-applets/uu/getQRCode"); |
| | | noLoginUrl.add("/api/applets/wx/flowerWxNotify"); |
| | | if (noLoginUrl.contains(requestURI)) { |
| | | List<SimpleGrantedAuthority> authorities = new ArrayList<>(); |
| | | authorities.add(new SimpleGrantedAuthority(SecurityConstants.ROLE_APPLETS)); |