34 lines
917 B
YAML
34 lines
917 B
YAML
server:
|
|
port: 8800
|
|
|
|
spring:
|
|
application:
|
|
name: service-oa
|
|
profiles:
|
|
active: dev
|
|
|
|
datasource:
|
|
type: com.zaxxer.hikari.HikariDataSource
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://${bunny.datasource.host}:${bunny.datasource.port}/${bunny.datasource.sqlData}?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
username: ${bunny.datasource.username}
|
|
password: ${bunny.datasource.password}
|
|
|
|
jackson:
|
|
date-format: yyyy-MM-dd HH:mm:ss
|
|
time-zone: GMT+8
|
|
|
|
mybatis-plus:
|
|
mapper-locations: classpath:mapper/*.xml
|
|
configuration:
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 查看日志
|
|
|
|
logging:
|
|
level:
|
|
com.atguigu.auth.mapper: debug
|
|
com.atguigu.auth.controller: info
|
|
com.atguigu.auth.service: info
|
|
pattern:
|
|
dateformat: HH:mm:ss:SSS
|
|
file:
|
|
path: "logs/${spring.application.name}" |