48 lines
1.1 KiB
YAML
48 lines
1.1 KiB
YAML
server:
|
|
port: 14001
|
|
|
|
spring:
|
|
application:
|
|
name: nl-shop
|
|
datasource:
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://127.0.0.1:3306/z_wb_nc_shop?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
username: root
|
|
password: root
|
|
redis:
|
|
host: 127.0.0.1
|
|
port: 6379
|
|
password: redis_pBjaRs
|
|
timeout: 3000ms
|
|
lettuce:
|
|
pool:
|
|
max-active: 8
|
|
max-idle: 8
|
|
min-idle: 0
|
|
servlet:
|
|
multipart:
|
|
enabled: true
|
|
max-file-size: 10MB
|
|
max-request-size: 10MB
|
|
thymeleaf:
|
|
prefix: classpath:/templates/
|
|
suffix: .html
|
|
mode: HTML
|
|
encoding: UTF-8
|
|
cache: false
|
|
|
|
mybatis:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
type-aliases-package: com.nlshop.entity
|
|
configuration:
|
|
map-underscore-to-camel-case: true
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
pagehelper:
|
|
helper-dialect: mysql
|
|
reasonable: true
|
|
support-methods-arguments: true
|
|
|
|
file:
|
|
upload-path: ${user.dir}/src/main/resources/static/upload
|