端口调整
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
--- #################### 注册中心 + 配置中心相关配置 ####################
|
#################### 注册中心 + 配置中心相关配置 ####################
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
cloud:
|
cloud:
|
||||||
nacos:
|
nacos:
|
||||||
@@ -15,8 +14,7 @@ spring:
|
|||||||
namespace: dev # 命名空间。这里使用 dev 开发环境
|
namespace: dev # 命名空间。这里使用 dev 开发环境
|
||||||
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
|
group: DEFAULT_GROUP # 使用的 Nacos 配置分组,默认为 DEFAULT_GROUP
|
||||||
|
|
||||||
--- #################### 数据库相关配置 ####################
|
#################### 数据库相关配置 ####################
|
||||||
spring:
|
|
||||||
# 数据源配置项
|
# 数据源配置项
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
exclude:
|
exclude:
|
||||||
@@ -70,7 +68,7 @@ spring:
|
|||||||
# password: njcnpqs # 密码,建议生产环境开启
|
# password: njcnpqs # 密码,建议生产环境开启
|
||||||
|
|
||||||
|
|
||||||
--- #################### 监控相关配置 ####################
|
#################### 监控相关配置 ####################
|
||||||
|
|
||||||
# Actuator 监控端点的配置项
|
# Actuator 监控端点的配置项
|
||||||
management:
|
management:
|
||||||
@@ -91,7 +89,7 @@ logging:
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
--- #################### 灿能相关配置 ####################
|
#################### 灿能相关配置 ####################
|
||||||
|
|
||||||
# 灿能配置项,设置当前项目所有自定义的配置
|
# 灿能配置项,设置当前项目所有自定义的配置
|
||||||
msgpush:
|
msgpush:
|
||||||
|
|||||||
@@ -81,26 +81,17 @@ easy-trans:
|
|||||||
is-enable-global: false # 【默认禁用,对性能确认压力大】启用全局翻译(拦截所有 SpringMVC ResponseBody 进行自动翻译 )。如果对于性能要求很高可关闭此配置,或通过 @IgnoreTrans 忽略某个接口
|
is-enable-global: false # 【默认禁用,对性能确认压力大】启用全局翻译(拦截所有 SpringMVC ResponseBody 进行自动翻译 )。如果对于性能要求很高可关闭此配置,或通过 @IgnoreTrans 忽略某个接口
|
||||||
|
|
||||||
|
|
||||||
--- #################### 消息队列相关 ####################
|
|
||||||
|
|
||||||
# rocketmq 配置项,对应 RocketMQProperties 配置类
|
|
||||||
rocketmq:
|
|
||||||
# Producer 配置项
|
|
||||||
producer:
|
|
||||||
group: ${spring.application.name}_PRODUCER # 生产者分组
|
|
||||||
|
|
||||||
|
|
||||||
--- #################### 验证码相关配置 ####################
|
--- #################### 验证码相关配置 ####################
|
||||||
|
|
||||||
aj:
|
aj:
|
||||||
captcha:
|
captcha:
|
||||||
jigsaw: classpath:images/jigsaw # 滑动验证,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径
|
jigsaw: classpath:images/jigsaw # 滑动验证,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径
|
||||||
pic-click: classpath:images/pic-click # 滑动验证,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径
|
pic-click: classpath:images/pic-click # 文字点选,底图路径,不配置将使用默认图片;以 classpath: 开头,取 resource 目录下路径
|
||||||
cache-type: redis # 缓存 local/redis...
|
cache-type: redis # 缓存 local/redis...
|
||||||
cache-number: 1000 # local 缓存的阈值,达到这个值,清除缓存
|
cache-number: 1000 # local 缓存的阈值,达到这个值,清除缓存
|
||||||
timing-clear: 180 # local定时清除过期缓存(单位秒),设置为0代表不执行
|
timing-clear: 180 # local定时清除过期缓存(单位秒),设置为0代表不执行
|
||||||
type: blockPuzzle # 验证码类型 default 三种都实例化。blockPuzzle 滑块拼图、clickWord 文字点选、pictureWord 文本输入
|
type: blockPuzzle # 验证码类型 default 三种都实例化。blockPuzzle 滑块拼图、clickWord 文字点选、pictureWord 文本输入
|
||||||
water-mark: 灿能电力 # 右下角水印文字(我的水印),可使用 https://tool.chinaz.com/tools/unicode.aspx 中文转 Unicode,Linux 可能需要转 unicode
|
water-mark: \u707f\u80fd\u7535\u529b # 右下角水印文字(我的水印),可使用 https://tool.chinaz.com/tools/unicode.aspx 中文转 Unicode,Linux 可能需要转 unicode
|
||||||
interference-options: 0 # 滑动干扰项(0/1/2)
|
interference-options: 0 # 滑动干扰项(0/1/2)
|
||||||
req-frequency-limit-enable: false # 接口请求次数一分钟限制是否开启 true|false
|
req-frequency-limit-enable: false # 接口请求次数一分钟限制是否开启 true|false
|
||||||
req-get-lock-limit: 5 # 验证失败5次,get接口锁定
|
req-get-lock-limit: 5 # 验证失败5次,get接口锁定
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
server:
|
#################### 数据库相关配置 ####################
|
||||||
port: 48080
|
|
||||||
|
|
||||||
--- #################### 数据库相关配置 ####################
|
|
||||||
|
|
||||||
spring:
|
spring:
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
|
|||||||
@@ -1,7 +1,4 @@
|
|||||||
server:
|
#################### 数据库相关配置 ####################
|
||||||
port: 48080
|
|
||||||
|
|
||||||
--- #################### 数据库相关配置 ####################
|
|
||||||
spring:
|
spring:
|
||||||
autoconfigure:
|
autoconfigure:
|
||||||
# noinspection SpringBootApplicationYaml
|
# noinspection SpringBootApplicationYaml
|
||||||
|
|||||||
Reference in New Issue
Block a user