【新增】模型模块接口
This commit is contained in:
@@ -36,8 +36,15 @@ mybatis-plus.mapper-locations=classpath*:/mapper/**/*.xml
|
||||
mybatis-plus.type-aliases-package=com.corewing.app.entity
|
||||
mybatis-plus.configuration.map-underscore-to-camel-case=true
|
||||
mybatis-plus.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
mybatis-plus.global-config.db-config.id-type=AUTO
|
||||
mybatis-plus.global-config.db-config.id-type=ASSIGN_ID
|
||||
mybatis-plus.global-config.db-config.table-prefix=
|
||||
# ========== 逻辑删除核心配置 ==========
|
||||
# 1. 自定义逻辑删除字段名(替换为你的字段,如 is_delete、del_flag 等)
|
||||
mybatis-plus.global-config.db-config.logic-delete-field=del_flag
|
||||
# 2. 逻辑未删除值(替换为你的业务未删除值,如 0、false、N 等)
|
||||
mybatis-plus.global-config.db-config.logic-not-delete-value=NOT_DELETE
|
||||
# 3. 逻辑已删除值(替换为你的业务已删除值,如 1、true、Y 等)
|
||||
mybatis-plus.global-config.db-config.logic-delete-value=DELETE
|
||||
|
||||
# Redis 配置
|
||||
spring.redis.host=localhost
|
||||
@@ -95,3 +102,41 @@ spring.mail.properties.mail.smtp.socketFactory.fallback=false
|
||||
dingtalk.webhook=https://oapi.dingtalk.com/robot/send?access_token=7eed4b3483303c9ec71ef37a08c347bb597fd4c64211a96a8f55f72405ff6444
|
||||
# 如果使用加签安全设置,请填写密钥(secret)
|
||||
dingtalk.secret=SEC0f2b835f28139905e3c0b5be979b215df1735f1154f36514aafbae8708014148
|
||||
|
||||
|
||||
|
||||
# ===================== Knife4j 核心增强配置 =====================
|
||||
# 启用Knife4j增强模式
|
||||
knife4j.enable=true
|
||||
knife4j.setting.language=zh_cn
|
||||
knife4j.basic.enable=true
|
||||
knife4j.basic.username=corewing
|
||||
knife4j.basic.password=Aaa123..
|
||||
# ===================== Knife4j OpenAPI 全局文档配置 =====================
|
||||
# 文档标题
|
||||
knife4j.openapi.title=CoreWing APP API
|
||||
# 文档描述(支持Markdown,换行用\n,特殊符号保留)
|
||||
|
||||
knife4j.openapi.description=
|
||||
# 作者邮箱
|
||||
knife4j.openapi.email=
|
||||
# 联系人
|
||||
knife4j.openapi.concat=
|
||||
# 文档官网地址
|
||||
knife4j.openapi.url=
|
||||
# 文档版本
|
||||
knife4j.openapi.version=v1.0
|
||||
# 许可证
|
||||
knife4j.openapi.license=
|
||||
|
||||
|
||||
|
||||
# ===================== Knife4j 分组配置 =====================
|
||||
# 分组名称
|
||||
knife4j.openapi.group.test1.group-name=APP接口
|
||||
# 接口扫描规则:package(按包扫描)、path(按路径匹配)、api(按注解匹配)
|
||||
knife4j.openapi.group.test1.api-rule=package
|
||||
# 按包扫描的资源(数组,用[索引]标识多个包)
|
||||
knife4j.openapi.group.test1.api-rule-resources[0]=com.corewing.app.modules.app
|
||||
# 若有多个包,继续添加索引
|
||||
# knife4j.openapi.group.test1.api-rule-resources[1]=com.knife4j.demo.new4
|
||||
|
||||
Reference in New Issue
Block a user