From d17cc66f3026be4609f91fc726b55660aec36e67 Mon Sep 17 00:00:00 2001 From: feiyu02 <risaku@163.com> Date: 星期五, 06 九月 2024 17:16:52 +0800 Subject: [PATCH] 1. 新增设备管理接口 2. 优化第三方接口数据获取逻辑 --- src/main/resources/application.yml | 37 +++++++++++++++++++++++++++++++++++++ 1 files changed, 37 insertions(+), 0 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 8b13789..89e2e89 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1 +1,38 @@ +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + hikari: + maximum-pool-size: 500 + minimum-idle: 20 + idle-timeout: 60000 + connection-timeout: 60000 + profiles: + active: @profileActive@ + jmx: + enabled: false + #鏂囦欢涓婁紶闄愬埗 + servlet: + multipart: + max-file-size: 25MB + max-request-size: 100MB + + +mybatis: + type-aliases-package: com.flightfeather.uav.domain.entity + mapper-locations: classpath*:mapper/*.xml + + +## 閫氱敤 Mapper 閰嶇疆 +#mappers 澶氫釜鎺ュ彛鏃堕�楀彿闅斿紑 +mapper: + mappers: com.flightfeather.uav.domain.MyMapper + not-empty: false + identity: MYSQL + +#鏁版嵁搴撳垎椤甸厤缃� +pagehelper: + helperDialect: mysql + reasonable: true + supportMethodsArguments: true + params: count=countSql \ No newline at end of file -- Gitblit v1.9.3