change - 拦截器、数据库、端口修改

master
Wen JY 1 year ago
parent c4bebfff35
commit 7fd4a7b597

@ -23,7 +23,7 @@ spring:
# username: system # username: system
# password: aucma # password: aucma
url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL
username: system username: scada
password: aucma password: aucma
# 从库数据源 # 从库数据源
slave: slave:

@ -16,7 +16,7 @@ ruoyi:
# 开发环境配置 # 开发环境配置
server: server:
# 服务器的HTTP端口正式端口8012 # 服务器的HTTP端口正式端口8012
port: 8013 port: 8012
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
@ -138,4 +138,4 @@ swagger:
# 是否开启swagger # 是否开启swagger
enabled: true enabled: true
in_id: 2 in_id: 1

@ -9,6 +9,6 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
public class InterceptorConfig implements WebMvcConfigurer { public class InterceptorConfig implements WebMvcConfigurer {
@Override @Override
public void addInterceptors(InterceptorRegistry registry) { public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new AInterceptor()).addPathPatterns("/**"); //registry.addInterceptor(new AInterceptor()).addPathPatterns("/**");
} }
} }

Loading…
Cancel
Save