Update config file
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
app:
|
||||
security:
|
||||
# header-string: "Authorization" # The key of head to get token
|
||||
# token-prefix: "Bearer " # Token prefix
|
||||
# jwt-ttl: 2 # The life of token
|
||||
# jwt-ttl-unit: hours # Unit of life of token
|
||||
jwt-key: $uuid$ # Key to generate token
|
||||
# jwt-issuer: FatWeb # Token issuer
|
||||
|
||||
server:
|
||||
# port: 8080 # Server port
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user