增加mybatis代码生成功能

This commit is contained in:
2025-07-08 00:11:24 +08:00
parent 8b656907a3
commit 23537aa318
6 changed files with 55 additions and 63 deletions

View File

@ -68,11 +68,11 @@ hystrix:
thread:
timeoutInMilliseconds: 10000 # 默认熔断超时时间
springdoc:
swagger-ui:
url: /v3/api-docs
path: /doc.html
packages-to-scan: com.sczx.store.controller # 替换为你的 controller 包路径
#springdoc:
# swagger-ui:
# url: /v3/api-docs
# path: /doc.html
# packages-to-scan: com.sczx.store.controller # 替换为你的 controller 包路径
mybatis-plus:
mapper-locations: classpath*:mapper/**/*.xml
@ -81,6 +81,6 @@ mybatis-plus:
mapUnderscoreToCamelCase: true
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl # 控制台打印 SQL调试用
#auth:
# secret-key: his-is-a-very-long-and-secure-secret-key-for-jwt-signing-please-dont-use-short-keys
# token-expiration: 86400000 # 24小时
auth:
secret-key: his-is-a-very-long-and-secure-secret-key-for-jwt-signing-please-dont-use-short-keys
token-expiration: 86400000 # 24小时