| | |
| | | server: |
| | | port: 9090 |
| | | port: 9092 |
| | | tomcat: |
| | | max-swallow-size: 500MB |
| | | servlet: |
| | | context-path: /api |
| | | # servlet: |
| | | # context-path: /api |
| | | spring: |
| | | thymeleaf: |
| | | cache: false |
| | |
| | | max-request-size: 500MB |
| | | resolve-lazily: true #设置为懒加载,不然依然会捕获不到异常 |
| | | profiles: |
| | | active: prod |
| | | active: dev |
| | | main: |
| | | allow-bean-definition-overriding: true |
| | | #sagger文档属性配置 |
| | |
| | | # 数据源 |
| | | datasource: |
| | | username: root #测试环境 |
| | | password: 123456 |
| | | url: jdbc:mysql://127.0.0.1:3306/jilongda?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| | | password: root |
| | | url: jdbc:mysql://192.168.110.64:3306/eyes?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| | | type: com.zaxxer.hikari.HikariDataSource |
| | | driver-class-name: com.mysql.cj.jdbc.Driver |
| | | hikari: |
| | |
| | | on-profile: prod |
| | | # 数据源 |
| | | datasource: |
| | | url: jdbc:mysql://127.0.0.1:3306/jilongda?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://192.168.110.64:3306/eyes?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: Xiwang2024! |
| | | type: com.zaxxer.hikari.HikariDataSource |