Update config file

This commit is contained in:
2023-10-05 21:04:08 +08:00
parent 5e555569c2
commit ca4fa26187
5 changed files with 34 additions and 21 deletions

View File

@@ -1,15 +1,18 @@
app:
version: @project.version@
build-time: @build.timestamp@
security:
header-string: "Authorization"
token-prefix: "Bearer "
jwt-ttl: 2
jwt-ttl-unit: hours
spring:
profiles:
active: config
datasource:
type: com.alibaba.druid.pool.DruidDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.cj.jdbc.Driver
mybatis-plus:
global-config:
db-config:
logic-delete-field: deleted
logic-not-delete-value: 0
logic-delete-value: id
id-type: assign_id
type-aliases-package: top.fatweb.api.entity