| | |
| | | registration.excludePathPatterns("/api/unipay/unipayCallBack");
|
| | | registration.excludePathPatterns("/api/unipay/agreeMentPayCallBack");
|
| | | registration.excludePathPatterns("/api/unipay/singlePayCallBack");
|
| | | //星级市场
|
| | | registration.excludePathPatterns("/api/member/memberStarMarket");
|
| | | registration.excludePathPatterns("/api/block/findAddress");
|
| | | }
|
| | |
|
| | | @Override
|
| | |
| | | .allowedMethods("POST", "GET", "PUT", "OPTIONS", "DELETE")//表示允许跨域请求的方法
|
| | | .maxAge(3600)//表示在3600秒内不需要再发送预校验请求
|
| | | .allowCredentials(true);//允许客户端携带验证信息,即允许携带cookie
|
| | |
|
| | | }
|
| | |
|
| | | }
|