维护初始SQL文件和对应逻辑

This commit is contained in:
2023-03-23 18:23:04 +08:00
parent d274bb1d7e
commit 4172afa305
8 changed files with 460 additions and 72 deletions
+4 -25
View File
@@ -7,42 +7,21 @@ spring:
username: root
password: rootroot
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
max-file-size: 2MB
max-request-size: 5MB
#Redis配置
redis:
host: 192.168.1.103
database: 2
database: 5
#RabbitMq配置
rabbitmq:
host: 192.168.1.103
port: 5672
username: mzaxd
password: 200712
#配置SpringBootAdmin
boot:
admin:
client:
url: http://192.168.1.103:8324 #配置 Admin Server的地址
instance:
service-host-type: ip
# 开放健康检查接口
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: ALWAYS
mybatis-plus:
#打印SQL日志 建议生产环境关掉 否则日志爆炸
# configuration:
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
global-config:
db-config:
logic-delete-field: delFlag
@@ -56,5 +35,5 @@ pagehelper:
page-size-zero: true
logging:
level:
com.mzaxd.noodles: info
com.mzaxd.noodles: debug
+4 -21
View File
@@ -7,10 +7,6 @@ spring:
username: root
password: rootroot
driver-class-name: com.mysql.cj.jdbc.Driver
servlet:
multipart:
max-file-size: 2MB
max-request-size: 5MB
#Redis配置
redis:
host: 192.168.1.103
@@ -21,22 +17,6 @@ spring:
port: 5672
username: mzaxd
password: 200712
#配置SpringBootAdmin
boot:
admin:
client:
url: http://192.168.1.103:8324 #配置 Admin Server的地址
instance:
service-host-type: ip #显示ip地址而不是默认的主机名
# 开放健康检查接口
management:
endpoints:
web:
exposure:
include: "*"
endpoint:
health:
show-details: ALWAYS
mybatis-plus:
#打印SQL日志 建议生产环境关掉 否则日志爆炸
@@ -52,4 +32,7 @@ pagehelper:
auto-dialect: on
reasonable: true
support-methods-arguments: true
page-size-zero: true
page-size-zero: true
logging:
level:
com.mzaxd.noodles: info
+1 -1
View File
@@ -1,3 +1,3 @@
spring:
profiles:
active: prod
active: dev