合并代码

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

@ -10,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_sjzx?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_sjzx?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_sjzx?autoReconnect=true&failOverReadOnly=false&useUnicode=true&characterEncoding=utf8&useSSL=false&allowMultiQueries=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
username: mostyDB1
password: mostyDBMysql1
hikari:
@ -29,15 +26,14 @@ spring:
connection-timeout: 60000 # ????????????250????????????30?
connection-test-query: SELECT 1 # ???????????????
# Redis数据库索引默认为0
# Redis数据库索引默认为0
redis:
database: 8
database: 1
# Redis服务器地址
host: 192.168.200.131
host: 192.168.1.129
# Redis服务器连接端口
port: 6379
port: 63799
# Redis服务器连接密码默认为空
password: mosty888
password: redis1994Inferno
# 连接超时时间(毫秒)
timeout: 2000
jedis:
@ -60,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:
@ -75,6 +72,6 @@ exclude:
- /v2/**
- /swagger-ui.html/**
- /docs.html/**
-
config:
orgCode: 510600000000

View File

@ -2,21 +2,19 @@ server:
port: 8016
servlet:
context-path: /mosty-sjzx/
spring:
application:
name: mosty-sjzx
cloud:
nacos:
discovery:
# namespace: 657d1843-b590-41ac-b5e7-5d261bf00de9
# server-addr: 192.168.200.131:8848
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