| | |
| | | #服务器配置 |
| | | server: |
| | | port: 80 |
| | | port: 82 |
| | | undertow: |
| | | # 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程 |
| | | io-threads: 16 |
| | |
| | | |
| | | spring: |
| | | datasource: |
| | | #driver-class-name: com.mysql.cj.jdbc.Driver |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | #driver-class-name: org.postgresql.Driver |
| | | #driver-class-name: oracle.jdbc.OracleDriver |
| | | driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | #driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | druid: |
| | | # MySql、PostgreSQL、SqlServer校验 |
| | | validation-query: select 1 |
| | |
| | | logic-not-delete-value: 0 |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | call-setters-on-nulls: true |
| | | cache-enabled: false |
| | | |
| | | #knife4j配置 |
| | |
| | | #token配置 |
| | | token: |
| | | #是否有状态 |
| | | state: false |
| | | state: true |
| | | #只可同时在线一人 |
| | | single: true |
| | | #redis序列化方式 |
| | | redis: |
| | | serializer-type: protostuff |
| | |
| | | #接口放行 |
| | | skip-url: |
| | | - /blade-test/** |
| | | - /liveLocation/** |
| | | - /locus/** |
| | | # - /liveLocation/** |
| | | # - /locus/** |
| | | # - /examScore/** |
| | | # - /trainingRegistration/** |
| | | # - /directive/** |
| | | # - /blade-user/** |
| | | # - /examPayment/** |
| | | # - /apply/** |
| | | # - /investigate/** |
| | | #授权认证配置 |
| | | auth: |
| | | - method: ALL |