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