环境修改
This commit is contained in:
parent
2336a38c15
commit
dfb289f8ad
@ -6,7 +6,7 @@ spring:
|
|||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://182.92.166.109:8000/xinelu-database?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://192.168.16.64:3306/xinelu-database?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: 1qaz!@#$
|
password: 1qaz!@#$
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
|
|||||||
@ -6,7 +6,7 @@ spring:
|
|||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://101.200.89.70:8000/xinelu-database?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://192.168.16.64:3306/xinelu-applet?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: 1qaz!@#$
|
password: 1qaz!@#$
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
@ -44,7 +44,7 @@ spring:
|
|||||||
url-pattern: /druid/*
|
url-pattern: /druid/*
|
||||||
# 控制台管理用户名和密码
|
# 控制台管理用户名和密码
|
||||||
login-username: admin
|
login-username: admin
|
||||||
login-password: 123456
|
login-password: admin123456
|
||||||
filter:
|
filter:
|
||||||
stat:
|
stat:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
@ -99,8 +99,8 @@ xinelu:
|
|||||||
|
|
||||||
# 开发环境配置
|
# 开发环境配置
|
||||||
server:
|
server:
|
||||||
# 服务器的HTTP端口,默认为8088
|
# 服务器的HTTP端口,默认为8098
|
||||||
port: 8080
|
port: 8098
|
||||||
servlet:
|
servlet:
|
||||||
# 应用的访问路径
|
# 应用的访问路径
|
||||||
context-path: /
|
context-path: /
|
||||||
@ -118,6 +118,7 @@ server:
|
|||||||
# 日志配置
|
# 日志配置
|
||||||
logging:
|
logging:
|
||||||
level:
|
level:
|
||||||
|
# 生产环境为info,开发为debug
|
||||||
com.xinelu: debug
|
com.xinelu: debug
|
||||||
org.springframework: warn
|
org.springframework: warn
|
||||||
|
|
||||||
@ -148,7 +149,7 @@ spring:
|
|||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 6379
|
port: 6379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
database: 0
|
database: 11
|
||||||
# 密码
|
# 密码
|
||||||
password: xinelu@6990
|
password: xinelu@6990
|
||||||
# 连接超时时间
|
# 连接超时时间
|
||||||
@ -257,14 +258,14 @@ xss:
|
|||||||
# 匹配链接
|
# 匹配链接
|
||||||
urlPatterns: /system/*,/monitor/*,/tool/*
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
||||||
|
|
||||||
# 家医配置
|
# 家医配置,德州正式地址:http://10.2.130.163:8003/fd/mp,东营正式地址:http://218.58.213.15:8009/fd/mp
|
||||||
fd:
|
fd:
|
||||||
dz: http://8.131.93.145:54007/fd/mp
|
dz: http://8.131.93.145:54007/fd/mp
|
||||||
dy: http://8.131.93.145:54008/fd/mp
|
dy: http://8.131.93.145:54008/fd/mp
|
||||||
# 签约附近的机构多少公里内 <=0时不限制
|
# 签约附近的机构多少公里内 <=0时不限制
|
||||||
distance: 0
|
distance: 0
|
||||||
|
|
||||||
#三高
|
# 三高后端服务地址,东营三高正式地址:http://218.58.213.15:8002
|
||||||
th:
|
th:
|
||||||
url: http://127.0.0.1:8080
|
url: http://127.0.0.1:8080
|
||||||
|
|
||||||
@ -313,6 +314,7 @@ xyl-we-chat-config:
|
|||||||
xyl-mch-serial-no: 7C6A18FC8E1F0445901B1BE1C4DD1ACE284C3D79
|
xyl-mch-serial-no: 7C6A18FC8E1F0445901B1BE1C4DD1ACE284C3D79
|
||||||
xyl-private-key-path: xinyilu_apiclient_key.pem
|
xyl-private-key-path: xinyilu_apiclient_key.pem
|
||||||
xyl-payment-key: Xyl699003981qazVFR4xsw23edcASDFG
|
xyl-payment-key: Xyl699003981qazVFR4xsw23edcASDFG
|
||||||
|
# 正式回调域名:https://hekou-nurse-api.xinyilu.cn
|
||||||
xyl-wechat-notify-url: https://1608.xinelu.cn
|
xyl-wechat-notify-url: https://1608.xinelu.cn
|
||||||
|
|
||||||
# 微信支付接口地址,包含小程序和App支付接口地址
|
# 微信支付接口地址,包含小程序和App支付接口地址
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<configuration>
|
<configuration>
|
||||||
<!-- 日志存放路径 -->
|
<!-- 日志存放路径,线上日志路径:E:\\xinelu-file\\logs -->
|
||||||
<property name="log.path" value="/home/xinelu/logs"/>
|
<property name="log.path" value="D:\\xinelu-file\\logs"/>
|
||||||
<!-- 日志输出格式 -->
|
<!-- 日志输出格式 -->
|
||||||
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n"/>
|
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n"/>
|
||||||
|
|
||||||
|
|||||||
@ -115,7 +115,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
|
|||||||
.antMatchers("/login", "/register", "/captchaImage").anonymous()
|
.antMatchers("/login", "/register", "/captchaImage").anonymous()
|
||||||
// 静态资源,可匿名访问
|
// 静态资源,可匿名访问
|
||||||
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
.antMatchers(HttpMethod.GET, "/", "/*.html", "/**/*.html", "/**/*.css", "/**/*.js", "/profile/**").permitAll()
|
||||||
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**", "/nurseApplet/**", "/nurseApp/**", "/specialDisease/getUserInfo", "/monitor/payTask/handCloseOrder", "/newApp/login/**", "/system/hospitalPerson/**", "/evaluate/**", "/webSocket/**", "/nurseApplet/nursingOrder/getConsultationOrder").permitAll()
|
.antMatchers("/swagger-ui.html", "/swagger-resources/**", "/webjars/**", "/*/api-docs", "/druid/**", "/nurseApplet/**", "/nurseApp/**", "/specialDisease/getUserInfo", "/monitor/payTask/handCloseOrder", "/newApp/login/**", "/system/hospitalPerson/**", "/evaluate/**", "/webSocket/**", "/nurseApplet/nursingOrder/getConsultationOrder", "/nurseApp/orderEvaluate/insertGoodsEvaluate").permitAll()
|
||||||
.antMatchers(antMatchers.split(",")).permitAll()
|
.antMatchers(antMatchers.split(",")).permitAll()
|
||||||
// 除上面外的所有请求全部需要鉴权认证
|
// 除上面外的所有请求全部需要鉴权认证
|
||||||
.anyRequest().authenticated()
|
.anyRequest().authenticated()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user