28 lines
709 B
YAML
28 lines
709 B
YAML
server:
|
|||
|
|
port: 8081
|
||
|
|
spring:
|
||
|
|
application:
|
||
|
|
name: shoplix-admin
|
||
|
|
servlet:
|
||
|
|
multipart:
|
||
|
|
max-file-size: 10MB
|
||
|
|
max-request-size: 12MB
|
||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://127.0.0.1:3306/shoplix?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&allowPublicKeyRetrieval=true&useSSL=false
|
||
|
|
username: shoplix
|
||
|
|
password: Shoplix_Local_2026!
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
flyway:
|
||
|
|
enabled: true
|
||
|
|
locations: classpath:db/migration
|
||
|
|
mybatis-plus:
|
||
|
|
configuration:
|
||
|
|
map-underscore-to-camel-case: true
|
||
|
|
global-config:
|
||
|
|
db-config:
|
||
|
|
logic-delete-field: deleted
|
||
|
|
logic-delete-value: 1
|
||
|
|
logic-not-delete-value: 0
|
||
|
|
shoplix:
|
||
|
|
code:
|
||
|
|
worker-id: 1
|