34 lines
777 B
YAML
34 lines
777 B
YAML
![]() |
server:
|
||
|
port: 8089
|
||
|
|
||
|
spring:
|
||
|
application:
|
||
|
name: 双碳
|
||
|
datasource:
|
||
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
url: jdbc:mysql://106.52.88.120:3306/demo?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai
|
||
|
username: root
|
||
|
password: 59ae8683c59fead903132a8d440bd7d9fd4936529d1d6f45f9d41111d7537bdd
|
||
|
|
||
|
#配置plus打印sql日志
|
||
|
mybatis-plus:
|
||
|
configuration:
|
||
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||
|
|
||
|
#设置日志级别,ERROR/WARN/INFO/DEBUG,默认是INFO以上才显示
|
||
|
logging:
|
||
|
level:
|
||
|
root: INFO
|
||
|
|
||
|
|
||
|
knife4j:
|
||
|
enable: true
|
||
|
setting:
|
||
|
language: zh_cn
|
||
|
springdoc:
|
||
|
api-docs:
|
||
|
path: /v3/api-docs
|
||
|
group-configs:
|
||
|
- group: 'default'
|
||
|
paths-to-match: '/**'
|
||
|
packages-to-scan: net.carbon
|