合并代码

This commit is contained in:
2025-09-05 17:43:45 +08:00
parent 07ffe495a7
commit 98eb02a007
80 changed files with 3478 additions and 643 deletions

View File

@ -17,10 +17,10 @@
<entry key="com.zeroturnaround.jrebel.remoting.DeleteUnindexedFiles" value="false" />
<entry key="com.zeroturnaround.jrebel.remoting.ModuleRemoteServerSelection" value="off" />
<entry key="jrebelEnabled" value="true" />
<entry key="lastExternalPluginCheckTime" value="1747276765359" />
<entry key="lastExternalPluginCheckTime" value="1757036647255" />
</map>
</option>
<option name="version" value="13" />
<option name="version" value="15" />
</configuration>
</facet>
</component>

View File

@ -1,6 +1,7 @@
ribbon:
ReadTimeout: 600000
ConnectTimeout: 600000
spring:
servlet:
multipart:
@ -9,15 +10,12 @@ spring:
jackson:
serialization:
write-dates-as-timestamps: false
# # 格式化返回时间 yyyy-MM-dd HH:mm:ss
# 格式化返回时间 yyyy-MM-dd HH:mm:ss
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
datasource:
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://192.168.200.131:3306/mosty_rwzx?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
# username: root
# password: mosty888
url: jdbc:mysql://172.20.19.130:33306/mosty_rwzx?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
url: jdbc:mysql://192.168.1.129:33306/mosty_rwzx?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
username: mostyDB1
password: mostyDBMysql1
hikari:
@ -28,23 +26,10 @@ spring:
connection-timeout: 60000 # ????????????250????????????30?
connection-test-query: SELECT 1 # ???????????????
# Redis数据库索引默认为0
# redis:
# database: 8
# # Redis服务器地址
# host: 192.168.200.131
# # Redis服务器连接端口
# port: 6379
# # Redis服务器连接密码默认为空
# password: mosty888
# # 连接超时时间(毫秒)
# timeout: 2000
# jedis:
# pool:
# max-active: 50
redis:
database: 1
# Redis服务器地址
host: 172.20.19.130
host: 192.168.1.129
# Redis服务器连接端口
port: 63799
# Redis服务器连接密码默认为空
@ -71,13 +56,14 @@ magic-api:
web: /magic/web
#配置文件存储位置。当以classpath开头时为只读模式
resource:
# location: /data/magic-api
# location: /data/magic-api
type: database
table-name: magic_api # 数据库中的表名
prefix: /magic-api # 前缀
datasource:
response-code:
success: 10000
exclude:
pathPatterns:
swagger:

View File

@ -2,21 +2,19 @@ server:
port: 8020
servlet:
context-path: /mosty-rwzx/
spring:
application:
name: mosty-rwzx
cloud:
nacos:
discovery:
# namespace: 657d1843-b590-41ac-b5e7-5d261bf00de9
# server-addr: 192.168.200.131:8848
register-enabled: true # 是否将自己注册到配置中心,让其他服务发现调用(本地调试使用)
register-enabled: true
namespace: f23c13d4-0935-42e0-850e-a2216125f2ae
server-addr: 172.20.19.130:18848
server-addr: 192.168.1.129:18848
username: nacosDev1
password: nacosDev1
# 开启健康监控
management:
endpoints:
@ -40,4 +38,3 @@ management:
# 日志
#logging:
# file: /application/applogs/admin.log