spring:
application:
name: mall-config
cloud:
nacos:
discovery:
server-addr: 127.0.0.1:8848
# 环境 dev|test|prod|local
profiles:
active: dev
#时间格式转换
jackson:
date-format: yyyy-MM-dd #HH:mm:ss
time-zone: GMT+8
server:
port: 9006
#mybatis-plus配置
mybatis-plus:
typeAliasesPackage: com.sz.mall.user.entity
mapperLocations: classpath:mapper/*.xml
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#logging
logging:
level.root: INFO
pagehelper:
helperDialect: mysql
reasonable: true
supportMethodsArguments: true
params: count=countSql