| | |
| | | server: |
| | | port: 8080 |
| | | servlet: |
| | | context-path: /api |
| | | |
| | | spring: |
| | | application: |
| | | name: weiwojc |
| | | profiles: |
| | | active: dev |
| | | datasource: |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://121.43.139.99:13306/wwjc?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: k6R8NeFcBfec55rc |
| | | type: com.zaxxer.hikari.HikariDataSource |
| | | hikari: |
| | | minimum-idle: 5 |
| | | maximum-pool-size: 15 |
| | | auto-commit: true |
| | | idle-timeout: 30000 |
| | | pool-name: HikariCP |
| | | max-lifetime: 1800000 |
| | | connection-timeout: 30000 |
| | | connection-test-query: SELECT 1 |
| | | |
| | | mybatis: |
| | | configuration: |
| | | map-underscore-to-camel-case: true |
| | | log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
| | | |
| | | jwt: |
| | | secret: your-256-bit-secret-key-here-must-be-longer-than-256-bits |
| | | expiration: 1800 # 30分钟过期 |
| | | |
| | | logging: |
| | | level: |
| | | root: INFO |
| | | com.weiwojc: DEBUG |
| | | com.weiwojc: DEBUG |
| | | org.mybatis: DEBUG |