|
@@ -16,15 +16,16 @@ base:
|
|
|
# 验证码类型 math 数组计算 char 字符验证
|
|
|
captchaType: math
|
|
|
#图片路径前缀
|
|
|
- imgUrl: http://183.236.39.220:18801/picbucket
|
|
|
- webUrl: http://183.236.39.220:8083
|
|
|
+ imgUrl: http://124.70.58.209:18801/picbucket
|
|
|
+ webUrl: http://124.70.58.209:9080
|
|
|
+ wsUrl: ws://124.70.58.209:9080
|
|
|
+ recordUrl: http://124.70.58.209:18082
|
|
|
bakUrl: http://10.161.12.50:9080
|
|
|
- wsUrl: ws://183.236.39.220:8083
|
|
|
- recordUrl: http://183.236.39.220:8081/hazard
|
|
|
+
|
|
|
# 开发环境配置
|
|
|
server:
|
|
|
# 服务器的HTTP端口,默认为8080
|
|
|
- port: 80
|
|
|
+ port: 18818
|
|
|
servlet:
|
|
|
# 应用的访问路径
|
|
|
context-path: /
|
|
@@ -63,11 +64,11 @@ spring:
|
|
|
active: druid
|
|
|
# 文件上传
|
|
|
servlet:
|
|
|
- multipart:
|
|
|
- # 单个文件大小
|
|
|
- max-file-size: 10MB
|
|
|
- # 设置总上传的文件大小
|
|
|
- max-request-size: 20MB
|
|
|
+ multipart:
|
|
|
+ # 单个文件大小
|
|
|
+ max-file-size: 10MB
|
|
|
+ # 设置总上传的文件大小
|
|
|
+ max-request-size: 20MB
|
|
|
# 服务模块
|
|
|
devtools:
|
|
|
restart:
|
|
@@ -76,13 +77,13 @@ spring:
|
|
|
# redis 配置
|
|
|
redis:
|
|
|
# 地址
|
|
|
- host: ${server-ip}
|
|
|
+ host: 124.70.58.209
|
|
|
# 端口,默认为6379
|
|
|
- port: 6379
|
|
|
+ port: 7001
|
|
|
# 数据库索引
|
|
|
database: 0
|
|
|
# 密码
|
|
|
- password: +xLHQ73t@q
|
|
|
+ password: 106@qwe123
|
|
|
# 连接超时时间
|
|
|
timeout: 100s
|
|
|
lettuce:
|
|
@@ -98,12 +99,12 @@ spring:
|
|
|
|
|
|
# web:token配置
|
|
|
token:
|
|
|
- # 令牌自定义标识
|
|
|
- header: Authorization
|
|
|
- # 令牌密钥
|
|
|
- secret: abcdefghijklmnopqrstuvwxyz
|
|
|
- # 令牌有效期(默认30分钟)
|
|
|
- expireTime: 30
|
|
|
+ # 令牌自定义标识
|
|
|
+ header: Authorization
|
|
|
+ # 令牌密钥
|
|
|
+ secret: abcdefghijklmnopqrstuvwxyz
|
|
|
+ # 令牌有效期(默认30分钟)
|
|
|
+ expireTime: 30
|
|
|
|
|
|
# app:token配置
|
|
|
apptoken:
|
|
@@ -116,12 +117,12 @@ apptoken:
|
|
|
|
|
|
# MyBatis配置
|
|
|
mybatis:
|
|
|
- # 搜索指定包别名
|
|
|
- typeAliasesPackage: com.ozs.**.domain
|
|
|
- # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
- mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
|
- # 加载全局的配置文件
|
|
|
- configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
+ # 搜索指定包别名
|
|
|
+ typeAliasesPackage: com.ozs.**.domain
|
|
|
+ # 配置mapper的扫描,找到所有的mapper.xml映射文件
|
|
|
+ mapperLocations: classpath*:mapper/**/*Mapper.xml
|
|
|
+ # 加载全局的配置文件
|
|
|
+ configLocation: classpath:mybatis/mybatis-config.xml
|
|
|
|
|
|
# MyBatis-plus配置
|
|
|
mybatis-plus:
|
|
@@ -146,10 +147,10 @@ xss:
|
|
|
# 匹配链接
|
|
|
urlPatterns: /system/*,/monitor/*,/tool/*
|
|
|
minio:
|
|
|
- endpoint: http://10.161.12.52:18801 #Minio服务所在地址
|
|
|
+ endpoint: http://124.70.58.209:18801 #Minio服务所在地址
|
|
|
bucketName: picbucket #存储桶名称
|
|
|
accessKey: admin #访问的key
|
|
|
secretKey: jt73W-+xhd5 #访问的秘钥
|
|
|
|
|
|
sdk:
|
|
|
- publish: http://${server-ip}:8081/hazard/sdk/publish
|
|
|
+ publish: http://124.70.58.209:18819/hazard/sdk/publish
|