领导履职修改

This commit is contained in:
haozq 2025-10-22 14:25:07 +08:00
parent b38b960882
commit 509c0c5642
4 changed files with 48 additions and 95 deletions

View File

@ -24,11 +24,11 @@
<version>2.1.0.RELEASE</version> <version>2.1.0.RELEASE</version>
</dependency> </dependency>
<dependency> <!-- <dependency>-->
<groupId>com.alibaba.cloud</groupId> <!-- <groupId>com.alibaba.cloud</groupId>-->
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId> <!-- <artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>-->
<version>2021.1</version> <!-- <version>2021.1</version>-->
</dependency> <!-- </dependency>-->
<!-- spring-boot-devtools --> <!-- spring-boot-devtools -->
<dependency> <dependency>

View File

@ -9,11 +9,11 @@ spring:
password: nacos password: nacos
discovery: discovery:
# nacos地址 # nacos地址
server-addr: 127.0.0.1:8848 server-addr: 192.168.0.31:30012
namespace: 289db019-a290-4903-ac1a-5d341af8b272 namespace: 2dff7ae9-6569-4edc-a86f-f4255ad16cd4
config: # config:
server-addr: 127.0.0.1:8848 # server-addr: 192.168.0.14:18848
namespace: 289db019-a290-4903-ac1a-5d341af8b272 # namespace: e0337b55-080d-456e-8449-46d68dceee5b
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
@ -21,16 +21,16 @@ spring:
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://127.0.0.1:3306/ldlz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://192.168.0.31:30937/gold-pm-v2.0-hn-xssz-bns-ldlz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: mroot username: root
password: bonus@admin123 password: 5168cpT#
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # # 从数据源开关/默认关闭
enabled: false # enabled: false
url: jdbc:mysql://120.48.23.33:3307/zyry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # url: jdbc:mysql://120.48.23.33:3307/zyry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: ldlz # username: ldlz
password: E2GWTDG45FRRBSBt # password: E2GWTDG45FRRBSBt
# 初始连接数 # 初始连接数
initialSize: 5 initialSize: 5
# 最小连接池数量 # 最小连接池数量
@ -54,7 +54,7 @@ spring:
testWhileIdle: true testWhileIdle: true
testOnBorrow: false testOnBorrow: false
testOnReturn: false testOnReturn: false
webStatFilter: webStatFilter:
enabled: true enabled: true
statViewServlet: statViewServlet:
enabled: true enabled: true

View File

@ -1,56 +1,36 @@
# 项目相关配置
ldlz:
# 名称
name: Ldlz
# 版本
version: 3.8.7
# 版权年份
copyrightYear: 2023
# 文件路径 示例( Windows配置 D:/ldlz/uploadPathLinux配置 /home/ldlz/uploadPath
# profile: E:/ldlz/uploadPath
profile: /home/ldlz/uploadPath
# 获取ip地址开关
addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证
captchaType: math
# 开发环境配置
server:
# 服务器的HTTP端口默认为8080
port: 9001
# port: 8080
servlet:
# 应用的访问路径
context-path: /
tomcat:
# tomcat的URI编码
uri-encoding: UTF-8
# 连接数满后的排队数默认为100
accept-count: 1000
threads:
# tomcat最大线程数默认为200
max: 800
# Tomcat启动初始化的线程数默认值10
min-spare: 100
# 数据源配置 # 数据源配置
spring: spring:
application:
name: bonus-ldlz
cloud:
nacos:
# nacos.core.auth.enabled=true 开启权限验证
username: nacos
password: nacos
discovery:
# nacos地址
server-addr: 192.168.0.14:18848
namespace: e0337b55-080d-456e-8449-46d68dceee5b
# config:
# server-addr: 192.168.0.14:18848
# namespace: e0337b55-080d-456e-8449-46d68dceee5b
datasource: datasource:
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
druid: druid:
# 主库数据源 # 主库数据源
master: master:
url: jdbc:mysql://192.168.0.70:2000/ldlz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 url: jdbc:mysql://192.168.0.14:2009/ldlz?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root username: root
password: Bonus@admin123! password: Bonus@admin123!
# 从库数据源 # 从库数据源
slave: slave:
# 从数据源开关/默认关闭 # # 从数据源开关/默认关闭
enabled: true # enabled: false
url: jdbc:mysql://192.168.0.70:2000/zyry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 # url: jdbc:mysql://120.48.23.33:3307/zyry?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root # username: ldlz
password: Bonus@admin123! # password: E2GWTDG45FRRBSBt
# 初始连接数 # 初始连接数
initialSize: 5 initialSize: 5
# 最小连接池数量 # 最小连接池数量
@ -74,7 +54,7 @@ spring:
testWhileIdle: true testWhileIdle: true
testOnBorrow: false testOnBorrow: false
testOnReturn: false testOnReturn: false
webStatFilter: webStatFilter:
enabled: true enabled: true
statViewServlet: statViewServlet:
enabled: true enabled: true
@ -93,29 +73,4 @@ spring:
merge-sql: true merge-sql: true
wall: wall:
config: config:
multi-statement-allow: true multi-statement-allow: true
# redis 配置
redis:
# 地址
host: 192.168.0.70
# 端口默认为6379
port: 6379
# 数据库索引
database: 13
# 密码
password: Hnsmz@070redis!
# 连接超时时间
timeout: 10s
lettuce:
pool:
# 连接池中的最小空闲连接
min-idle: 0
# 连接池中的最大空闲连接
max-idle: 8
# 连接池的最大数据库连接数
max-active: 8
# #连接池最大阻塞等待时间(使用负值表示没有限制)
max-wait: -1ms
index:
url: https://www.hnsbd.com.cn/h5/index.html#/pages/loginToken

View File

@ -7,8 +7,8 @@ ldlz:
# 版权年份 # 版权年份
copyrightYear: 2023 copyrightYear: 2023
# 文件路径 示例( Windows配置 D:/ldlz/uploadPathLinux配置 /home/ldlz/uploadPath # 文件路径 示例( Windows配置 D:/ldlz/uploadPathLinux配置 /home/ldlz/uploadPath
profile: E:/ldlz/uploadPath # profile: E:/ldlz/uploadPath
# profile: /home/ldlz/uploadPath profile: /home/ldlz/uploadPath
# 获取ip地址开关 # 获取ip地址开关
addressEnabled: false addressEnabled: false
# 验证码类型 math 数字计算 char 字符验证 # 验证码类型 math 数字计算 char 字符验证
@ -18,7 +18,7 @@ ldlz:
server: server:
# 服务器的HTTP端口默认为8080 # 服务器的HTTP端口默认为8080
# port: 9001 # port: 9001
port: 38080 port: 48181
servlet: servlet:
# 应用的访问路径 # 应用的访问路径
context-path: / context-path: /
@ -54,8 +54,8 @@ spring:
# 国际化资源文件路径 # 国际化资源文件路径
basename: i18n/messages basename: i18n/messages
profiles: profiles:
active: @profile.active@ # active: @profile.active@
# active: prod active: druid
# 文件上传 # 文件上传
servlet: servlet:
multipart: multipart:
@ -72,12 +72,10 @@ spring:
redis: redis:
# 地址 # 地址
host: 127.0.0.1 host: 127.0.0.1
# 端口默认为6379
port: 6379 port: 6379
# 数据库索引 # password: Fyzbns@Redis123!
database: 13 database: 13
# 密码 # 密码
password:
# 连接超时时间 # 连接超时时间
timeout: 10s timeout: 10s
lettuce: lettuce: