| | |
| | | server: |
| | | port: 8080 |
| | | port: 8089 |
| | | servlet: |
| | | context-path: /admin |
| | | |
| | | spring: |
| | | application: |
| | | name: web-manage-back |
| | | name: trade-back |
| | | profiles: |
| | | active: test |
| | | jackson: |
| | | date-format: yyyy-MM-dd HH:mm:ss |
| | | time-zone: GMT+8 |
| | | |
| | | serialization: |
| | | write-dates-as-timestamps: false |
| | | #mcv配置 |
| | | mvc: |
| | | pathmatch: |
| | |
| | | # 主键类型 |
| | | id-type: auto |
| | | # 逻辑删除配置 |
| | | logic-delete-field: deleted |
| | | logic-delete-value: 1 |
| | | logic-not-delete-value: 0 |
| | | mapper-locations: classpath*:/mapper/**/*.xml |
| | | |
| | | # 日志配置 |
| | |
| | | enable-consistency-check: true |
| | | # 同步策略:realtime(实时同步)、batch(批量同步)、manual(手动同步) |
| | | sync-strategy: realtime |
| | | async: |
| | | executor: |
| | | core-pool-size: 4 |
| | | max-pool-size: 16 |
| | | queue-capacity: 500 |
| | | keep-alive-seconds: 60 |
| | | thread-name-prefix: async-cart- |
| | | wait-for-tasks-to-complete-on-shutdown: true |
| | | await-termination-seconds: 30 |