From 1a6e8123db395b7e3661bea01b3e35ff3bd24f57 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Thu, 30 May 2024 09:39:58 +0800 Subject: [PATCH] 图片上传 --- src/main/resources/application-dev.yml | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 083a895..9cd8f48 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -2,7 +2,7 @@ datasource: dynamic: # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗 - p6spy: true + p6spy: false hikari: connection-timeout: 30000 max-lifetime: 1800000 @@ -19,6 +19,10 @@ password: 123456 driver-class-name: com.mysql.cj.jdbc.Driver url: jdbc:mysql://120.27.238.55:3406/db_hongloumeng?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 +# username: db_mall_gfa +# password: db_mall_gfa123!@#123 +# driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://47.111.90.145:3306/db_mall_gfa?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&allowMultiQueries=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2b8 redis: # Redis数据库索引(默认为 0) @@ -63,4 +67,9 @@ mchId: 1641389321 mchKey: wqri51aCfiG31o4IcdX3dW12qnX3u4hp keyPath: classpath:cert/apiclient_cert.p12 - noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack \ No newline at end of file + noticeUrl: http://120.27.238.55:8185/api/pay/wxPayCallBack + +static: + resource: + url: http://120.27.238.55:8187/uploadeFile/ + path: /home/javaweb/webresource/gfa/h5/uploadeFile/ \ No newline at end of file -- Gitblit v1.9.1