| | |
| | | restart: |
| | | # 热部署开关 |
| | | enabled: true |
| | | # 与vue整合部署使用 |
| | | thymeleaf: |
| | | # 将系统模板放置到最前面 否则会与 springboot-admin 页面冲突 |
| | | template-resolver-order: 1 |
| | | mvc: |
| | | pathmatch: |
| | | # 适配 boot 2.6 路由与 springfox 兼容 |
| | |
| | | is-concurrent: true |
| | | # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) |
| | | is-share: false |
| | | # 是否尝试从请求体里读取token |
| | | is-read-body: false |
| | | # 是否尝试从header里读取token |
| | | is-read-head: true |
| | | # 是否尝试从cookie里读取token |
| | | is-read-cookie: false |
| | | # token前缀 |
| | | token-prefix: "Bearer" |
| | | # token风格 |
| | | token-style: uuid |
| | | # jwt秘钥 |
| | | jwt-secret-key: abcdefghijklmnopqrstuvwxyz |
| | | # 是否输出操作日志 |
| | |
| | | management: |
| | | endpoints: |
| | | web: |
| | | # Actuator 提供的 API 接口的根目录。默认为 /actuator |
| | | base-path: /actuator |
| | | exposure: |
| | | # 需要开放的端点。默认值只打开 health 和 info 两个端点。通过设置 * ,可以开放所有端点。 |
| | | # 生产环境不建议放开所有 根据项目需求放开即可 |