增加mybatis代码生成功能
This commit is contained in:
@ -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小时
|
||||
|
||||
Reference in New Issue
Block a user