| | |
| | | public void addInterceptors(InterceptorRegistry registry) {
|
| | | InterceptorRegistration registration = registry.addInterceptor(new LoginInterceptor());
|
| | | registration.addPathPatterns("/api/**");
|
| | | registration.excludePathPatterns("/api/login/**");
|
| | | // registration.excludePathPatterns("/api/login/**");
|
| | | registration.excludePathPatterns("/api/login/xcxLogin");
|
| | | registration.excludePathPatterns("/api/common/**");
|
| | | registration.excludePathPatterns("/api/category/**");
|
| | | registration.excludePathPatterns("/api/goods/**");
|
| | |
| | | registration.excludePathPatterns("/api/ai/productPoint/**");
|
| | | registration.excludePathPatterns("/api/ai/test/**");
|
| | | registration.excludePathPatterns("/api/ai/memberTalk/answer-stream");
|
| | | registration.excludePathPatterns("/api/ai/talk/questionList");
|
| | | registration.excludePathPatterns("/api/ai/talk/questionListV2");
|
| | | registration.excludePathPatterns("/api/ai/company/list");
|
| | | registration.excludePathPatterns("/api/ai/common/**");
|
| | | registration.excludePathPatterns("/api/ai/videoPlay/**");
|
| | |
|
| | | registration.excludePathPatterns("/api/yh/agent/categorySysList");
|
| | | registration.excludePathPatterns("/api/yh/agent/agentSysList");
|
| | | registration.excludePathPatterns("/api/yh/agent/agentSysInfo");
|
| | |
|
| | | registration.excludePathPatterns("/api/yh/banner/bannerList");
|
| | | registration.excludePathPatterns("/api/yh/banner/logoInfo");
|
| | | }
|
| | | }
|