server:
|
port: 8080
|
|
logging:
|
config: classpath:logback.xml
|
level:
|
root: info
|
|
spring:
|
profiles:
|
active: test
|
application:
|
id: 1001
|
name: admin-backend
|
jackson:
|
date-format: yyyy-MM-dd HH:mm:ss
|
time-zone: GMT+8
|
default-property-inclusion: non_null
|
parser:
|
allow-non-numeric-numbers: true
|
|
mvc:
|
date: yyyy-MM-dd
|
pathmatch:
|
matching-strategy: ANT_PATH_MATCHER
|
|
servlet:
|
multipart:
|
max-file-size: 100MB
|
max-request-size: 100MB
|
|
datasource:
|
url: jdbc:mysql://localhost:3306/estate?useSSL=false&autoReconnect=true&useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&zeroDateTimeBehavior=convertToNull
|
username: root
|
password: 123456
|
driver-class-name: com.mysql.jdbc.Driver
|
hikari:
|
auto-commit: true
|
connection-timeout: 20000
|
maximum-pool-size: 30
|
minimum-idle: 5
|
idle-timeout: 300000
|
max-lifetime: 1200000
|
|
# JPA
|
jpa:
|
hibernate:
|
ddl-auto: update
|
show-sql: false
|
|
# MyBatis-Plus
|
mybatis-plus:
|
mapper-locations: classpath:mapper/*.xml
|
type-aliases-package: com.estate.expert.admin.domain.entity
|
configuration:
|
map-underscore-to-camel-case: true
|
use-generated-keys: true
|
default-statement-timeout: 30
|
global-config:
|
db-config:
|
logic-delete-field: deleted
|
logic-delete-value: 1
|
logic-not-delete-value: 0
|
|
|
file:
|
upload:
|
# dir: /data/uploads
|
dir: F:\file\estate
|
|
map:
|
api:
|
key: 5ad97434d47b7cc74b4145d5509d28d2
|
|
license:
|
key: lI0Qvh4sExRSocj5hUsiykvZzzEkquy04aydOb22zh70O58gdourrlAMZAu/BdATBk3xqmDxn0y8+AM1BYgwEOREcS9+S8V6FUFtoJpPDu4=
|