From 06cb1c6bdf0a3c9c39eaa7cbebc5834d9acfbd84 Mon Sep 17 00:00:00 2001 From: guoshengxiong <1923636941@qq.com> Date: Wed, 15 Jan 2025 19:19:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E5=A4=B4bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../baotou/service/impl/PromotionalVideoServiceImpl.java | 4 ++-- src/main/resources/application-gsx-t-dev.properties | 2 +- src/main/resources/application.properties | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/PromotionalVideoServiceImpl.java b/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/PromotionalVideoServiceImpl.java index 78e2147a6..0707ac6a4 100644 --- a/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/PromotionalVideoServiceImpl.java +++ b/src/main/java/com/zhgd/xmgl/modules/baotou/service/impl/PromotionalVideoServiceImpl.java @@ -105,8 +105,8 @@ public class PromotionalVideoServiceImpl extends ServiceImpl map) { PromotionalVideo e = new PromotionalVideo(); e.setVideoName(FlowUtil.getString(map,"videoName")); - e.setAttachmentUrl(FlowUtil.getString(map,"attachmentUrl")); - e.setAttachmentFileName(FlowUtil.getString(map,"attachmentFileName")); + e.setAttachmentUrl(FlowUtil.getFileUrl(map,"attachmentUrl")); + e.setAttachmentFileName(FlowUtil.getFileUrl(map,"attachmentFileName")); e.setIsPin(FlowUtil.getPullDownInteger(map,"isPin")); e.setProjectSn(FlowUtil.getString(map,"projectSn")); baseMapper.insert(e); diff --git a/src/main/resources/application-gsx-t-dev.properties b/src/main/resources/application-gsx-t-dev.properties index 382db669a..3d12666c3 100644 --- a/src/main/resources/application-gsx-t-dev.properties +++ b/src/main/resources/application-gsx-t-dev.properties @@ -1,5 +1,5 @@ http.port=28887 -spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.34.221:3306/wisdomsite_baotou?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&rewriteBatchedStatements=true +spring.datasource.db1.jdbc-url=jdbc:mysql://192.168.34.221:3306/wisdomsite_baotou_prod?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&rewriteBatchedStatements=true spring.datasource.db1.driver-class-name=com.mysql.jdbc.Driver spring.datasource.db1.username=ENC(XR4C/hvTYCUqudS49Wh/jA==) spring.datasource.db1.password=ENC(LsKaVL2ycDu+uUNoPndYLA==) diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index d8dd86481..410a3f730 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -194,7 +194,7 @@ spring.mail.properties.mail.smtp.ssl.enable=true spring.mail.properties.mail.smtp.socketFactory.port=465 spring.mail.properties.mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory #工作流数据库 -spring.datasource.db2.jdbc-url=jdbc:mysql://192.168.34.221:3306/wflow_pro?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8 +spring.datasource.db2.jdbc-url=jdbc:mysql://192.168.34.221:3306/wflow_pro_baotou_prod?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&serverTimezone=GMT%2B8 spring.datasource.db2.driver-class-name=com.mysql.jdbc.Driver spring.datasource.db2.username=root spring.datasource.db2.password=root