Files
WAI_Project_BACKEND/target/classes/application-local.yml
2026-01-21 01:37:07 +08:00

49 lines
1.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

spring:
datasource:
url: jdbc:mysql://127.0.0.1:3306/cool?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2b8
username: root
password: root
driver-class-name: com.mysql.cj.jdbc.Driver
# url: jdbc:postgresql://127.0.0.1:5432/cool
# username: postgres
# password: 123456
# driver-class-name: org.postgresql.Driver
# AutoTable配置根据实体类自动生成表
auto-table:
# 启用自动维护表功能
enable: true
# 自动删除名称不匹配的索引
autoDropIndex: true
# 建表的时候,父类的字段排序是在子类后面还是前面
superInsertPosition: before
# 模型包路径
model-package: com.cool.**.entity
# Cool相关配置
cool:
# 初始化数据
initData: true
sysParam:
allowKeys: ["app_home_menus", "app_my_menus", "app_tabbar", "login_logo"]
# 微信小程序配置
wx:
appid: ${WX_APPID:}
secret: ${WX_SECRET:}
# 文档
springdoc:
api-docs:
#是否开启文档功能 本地为了配合eps功能不可关闭
enabled: true
group-configs:
- group: app
paths-to-match: /app/**
- group: admin
paths-to-match: /admin/**
# 设置日志级别
logging:
level:
com.cool: debug