build 数据库脚本和配置注释更新

This commit is contained in:
bootx
2024-12-08 10:24:55 +08:00
parent a48e37c7b7
commit a896e5e336
6 changed files with 28 additions and 27 deletions

View File

@@ -5,15 +5,15 @@ spring:
datasource:
master:
# Postgresql连接
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://postgresql:5432/daxpay?serverTimezone=Asia/Shanghai&autoReconnect=true&reWriteBatchedInserts=true
# username: bootx
# password: bootx123
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://127.0.0.1:5432/dax-pay-single?serverTimezone=Asia/Shanghai&autoReconnect=true&reWriteBatchedInserts=true
username: bootx
password: bootx123
# MySQL连接
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://mysql:3306/dax-pay-single?serverTimezone=GMT%2B8&characterEncoding=utf8&allowMultiQueries=true&useSSL=false&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true
username: root
password: root
# driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:mysql://127.0.0.1:3306/dax-pay-single?serverTimezone=GMT%2B8&characterEncoding=utf8&allowMultiQueries=true&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
# username: root
# password: root
hikari:
keepalive-time: 300000
data:
@@ -55,10 +55,7 @@ bootx-platform:
- org.dromara.daxpay
starter:
auth:
# 是否启用超级管理员登录
enable-admin: true
# 用户管理列表中是否显示超级管理员
admin-in-list: true
ignore-urls:
- '/actuator/**'
- '/v3/api-docs/**'
@@ -72,8 +69,12 @@ bootx-platform:
- '/web/**'
- '/h5/**'
- '/css/**'
- '/**'
- '/error'
- '/favicon.ico'
file-upload:
# 使用后端代理访问, 线上请使用 Nginx 配置或者直连方式,效率更高
forward-server-url: http://127.0.0.1:9999
dax-pay:
# 推荐只使用字母和数字, 特殊符号会导致部分通道出问题
env: DEV

View File

@@ -25,8 +25,9 @@ springdoc:
# 默认展开对象类型的属性, 主要用在get类型的参数中
default-flat-param-object: true
knife4j:
# 开启接口文档增强特性
enable: true
# 为true 关闭swagger接口
# 是否为生产环境, 为true关闭swagger接口
production: ${KNIFE4J_PRODUCTION:false}
# 基础脚手架配置
bootx-platform: