增加添加默认设备头像
This commit is contained in:
@@ -2,12 +2,14 @@ package com.onekeycall.videotablet.config;
|
||||
|
||||
import com.onekeycall.videotablet.interceptor.TokenInterceptor;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
|
||||
//@Configuration
|
||||
//public class WebConfig implements WebMvcConfigurer {
|
||||
@Configuration
|
||||
public class WebConfig implements WebMvcConfigurer {
|
||||
// @Autowired
|
||||
// private TokenInterceptor tokenInterceptor;
|
||||
//
|
||||
@@ -17,4 +19,4 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||
// .addPathPatterns("/user/**") // 保护用户相关端点
|
||||
// .excludePathPatterns("/public/**"); // 开放登录注册
|
||||
// }
|
||||
//}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user