Files
metis/src/main/resources/application.yml
zhangkaihuai b65a431d71 docs: 更新接口文档显示名称并修改 README
- 将系统接口文档的显示名称从"业务接口文档"修改为"系统接口文档"
- 更新 README 文件标题为"项目名称: metis"
2025-04-07 21:42:13 +08:00

58 lines
1.5 KiB
YAML
Raw 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.

server:
port: 8080
spring:
application:
name: metis
profiles:
active: dev
# MyBatis Plus 配置
mybatis-plus:
global-config:
# 关闭MP3.0自带的banner
banner: false
db-config:
#主键类型 0:"数据库ID自增", 1:"不操作", 2:"用户输入ID",3:"数字型snowflake", 4:"全局唯一ID UUID", 5:"字符串型snowflake";
id-type: 3
#字段策略
insert-strategy: not_null
update-strategy: not_null
select-strategy: not_null
#驼峰下划线转换
table-underline: true
logic-delete-field: is_deleted # 全局逻辑删除字段名
logic-delete-value: 1 # 逻辑已删除值
logic-not-delete-value: 0 # 逻辑未删除值
configuration:
map-underscore-to-camel-case: true
cache-enabled: false
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
springdoc:
swagger-ui:
tags-sorter: alpha
group-configs:
- group: bis
display-name: "业务接口文档"
paths-to-match: '/**'
packages-to-scan: org.shi9.module.bis
- group: system
display-name: "系统接口文档"
paths-to-match: '/**'
packages-to-scan: com.metis.controller
default-flat-param-object: true
knife4j:
# 开启增强配置
enable: true
# 开启生产环境屏蔽如果是生产环境需要把下面配置设置true
# production: true
setting:
language: zh_cn
swagger-model-name: 实体类列表
basic: # 开始授权认证
enable: true
username: admin
password: 123456