From d7a0b3b0935a582aa24de76b2901f3f4ee97d1a0 Mon Sep 17 00:00:00 2001
From: peng <peng.com>
Date: 星期五, 17 四月 2026 16:18:47 +0800
Subject: [PATCH] 兼容postgresql以及处理文件ip问题

---
 start/src/main/resources/application.yml |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/start/src/main/resources/application.yml b/start/src/main/resources/application.yml
index 3f36860..38029d3 100644
--- a/start/src/main/resources/application.yml
+++ b/start/src/main/resources/application.yml
@@ -4,6 +4,7 @@
   mapper-locations: classpath*:mapper/**/*.xml
   # 瀹炰綋鎵弿锛屽涓猵ackage鐢ㄩ�楀彿鎴栬�呭垎鍙峰垎闅�
   typeAliasesPackage: com.ycl.**.domain
+  type-handlers-package: com.ycl.mybatis.typehandler
   configuration:
     shrink-whitespaces-in-sql: true #浠嶴QL涓垹闄ゅ浣欑殑绌烘牸瀛楃
     default-enum-type-handler: com.baomidou.mybatisplus.core.handlers.MybatisEnumTypeHandler # 閫氱敤鏋氫妇澶勭悊鍣�
@@ -66,9 +67,9 @@
   servlet:
     multipart:
       # 鍗曚釜鏂囦欢澶у皬
-      max-file-size: 100MB
+      max-file-size: 1024MB
       # 璁剧疆鎬讳笂浼犵殑鏂囦欢澶у皬
-      max-request-size: 100MB
+      max-request-size: 1024MB
   # 鏈嶅姟妯″潡
   devtools:
     restart:
@@ -90,7 +91,7 @@
 
 # PageHelper鍒嗛〉鎻掍欢
 pagehelper:
-  helperDialect: mysql
+  helperDialect: postgresql
   supportMethodsArguments: true
   params: count=countSql
 

--
Gitblit v1.8.0