|
@@ -76,7 +76,7 @@ spring:
|
|
|
|
|
|
#mybaits-plus相关配置
|
|
|
mybatis-plus:
|
|
|
- mapper-locations: classpath*:com/fly/**/mapper/xml/*.xml
|
|
|
+ mapper-locations: classpath*:com/fjhx/**/mapper/xml/*.xml
|
|
|
configuration:
|
|
|
map-underscore-to-camel-case: true
|
|
|
cache-enabled: true
|
|
@@ -89,28 +89,4 @@ mybatis-plus:
|
|
|
logic-delete-value: 1 # 逻辑已删除值(默认为 1)
|
|
|
logic-not-delete-value: 0 # 逻辑未删除值(默认为 0)
|
|
|
update-strategy: NOT_NULL
|
|
|
- enable-sql-runner: true
|
|
|
-
|
|
|
-sa-token:
|
|
|
- # token名称 (同时也是cookie名称)
|
|
|
- token-name: Authorization
|
|
|
- # token有效期,单位s 默认30天, -1代表永不过期
|
|
|
- timeout: 2592000
|
|
|
- # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
|
|
|
- activity-timeout: 28800
|
|
|
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
|
|
|
- is-concurrent: false
|
|
|
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
|
|
|
- is-share: false
|
|
|
- # token风格
|
|
|
- token-style: simple-uuid
|
|
|
- # 是否输出操作日志
|
|
|
- is-log: false
|
|
|
- # 是否在初始化配置时打印版本字符画
|
|
|
- is-print: false
|
|
|
- # 是否从head中读取token
|
|
|
- is-read-header: true
|
|
|
- # 是否从cookie中读取token
|
|
|
- is-read-cookie: false
|
|
|
- # 是否尝试从请求体里读取token
|
|
|
- is-read-body: false
|
|
|
+ enable-sql-runner: true
|