| | |
| | | public FilterRegistrationBean jwtFilter() { |
| | | StringBuffer exclusions = new StringBuffer(); |
| | | exclusions.append("/callComponent/login/*,"); |
| | | exclusions.append("/app/ext/992023081502465051/query_token,"); |
| | | exclusions.append("/callComponent/register/*,"); |
| | | exclusions.append("/callComponent/validate-code/*,"); |
| | | exclusions.append("/callComponent/validate-tel/*,"); |
| | |
| | | exclusions.append("/app/equipments/*,");// 叮叮充电桩通知放开 |
| | | exclusions.append("/app/charge/*,");// 通用充电桩通知放开 |
| | | exclusions.append("/app/login.pcUserLogin,");// 放开接口登录 |
| | | exclusions.append("/app/login.accessTokenLogin,");// 放开接口登录 |
| | | exclusions.append("/app/login.getAccessToken,");// 放开接口登录 |
| | | |
| | | // todo 静态二维码支付 相关接口放开 |
| | | exclusions.append("/app/payFeeQrcode.getQrcodeConfig,");// 放开接口登录 |
| | | exclusions.append("/app/user.ownerSendSms,");// 向业主发送验证码 |
| | | exclusions.append("/app/owner.getQrcodeOwner,");// 根据二维码查询业主信息 |
| | | |
| | | |
| | | |
| | | |
| | |
| | | registrationBean.addUrlPatterns("/callComponent/*"); |
| | | registrationBean.addUrlPatterns("/flow/*"); |
| | | registrationBean.addUrlPatterns("/app/*"); |
| | | registrationBean.addInitParameter("excludedUri",exclusions.toString()); |
| | | registrationBean.addInitParameter("excludedUri", exclusions.toString()); |
| | | |
| | | return registrationBean; |
| | | } |