From 016a781500c8ee5187f5673b7bd5022a7f00cd07 Mon Sep 17 00:00:00 2001 From: lSun <15893999301@qq.com> Date: Fri, 28 Mar 2025 14:08:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E7=8E=AF=E5=A2=83=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 4504354..bd748b0 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -2,24 +2,28 @@ server: port: 21522 servlet: - context-path: /gz_car + context-path: /gz-car max-http-header-size: 10240 spring: # 配置数据源 datasource: driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://192.168.0.14:4417/gzimtcs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true + url: jdbc:mysql://192.168.0.16:4419/gzimtcs?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true username: root password: Bonus@admin123! -# url: jdbc:mysql://127.0.0.1:3306/gzimtcs?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true -# username: mroot -# password: bonus@admin123 +# url: jdbc:mysql://localhost:13306/gzimt250319?serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&useSSL=false +# username: root +# password: liang971108@Sun # type: com.alibaba.druid.pool.DruidDataSource redis: - host: 192.168.0.14 - port: 2003 - password: Fyzbns@Redis123! - database: 3 + host: 192.168.0.16 + port: 2001 + password: Zhzbns@Redis123! + database: 1 +# host: 127.0.0.1 +# port: 6379 +# password: liang971108lu@L +# database: 7 servlet: multipart: max-file-size: -1 @@ -43,7 +47,7 @@ zhly: file: upload_path: - windows: D://files/gz_car + windows: e://files/gz_car linux: /home/zg_gqj/files