From 153857f6e73704fdc8088ea3b5f68c202ea54dd7 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Wed, 9 Aug 2023 10:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=8A=E6=96=AD=E4=B8=8B=E8=BD=BD=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/glxp/mipsdl/controller/UdiWmsController.java | 1 - src/main/java/com/glxp/mipsdl/util/http/UHttpUtils.java | 3 ++- src/main/resources/application-dev.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/glxp/mipsdl/controller/UdiWmsController.java b/src/main/java/com/glxp/mipsdl/controller/UdiWmsController.java index 0e1a6ec..2378f20 100644 --- a/src/main/java/com/glxp/mipsdl/controller/UdiWmsController.java +++ b/src/main/java/com/glxp/mipsdl/controller/UdiWmsController.java @@ -27,7 +27,6 @@ public class UdiWmsController { * 获取第三方系统往来单位信息接口 * * @param udiwmsUnitRequest - * @param bindingResult * @return */ @PostMapping("/udiwms/erp/getUnits") diff --git a/src/main/java/com/glxp/mipsdl/util/http/UHttpUtils.java b/src/main/java/com/glxp/mipsdl/util/http/UHttpUtils.java index c7eabfa..a1fdc75 100644 --- a/src/main/java/com/glxp/mipsdl/util/http/UHttpUtils.java +++ b/src/main/java/com/glxp/mipsdl/util/http/UHttpUtils.java @@ -16,8 +16,9 @@ public class UHttpUtils { public static String formatResponse(String response) { response = response.replace("\\\"\\\\\\\\\\\"", "\"\""); - response = response.replace("\\\"\\\\\\\"", "\"\""); + response = response.replace("\\\"\\\\\\\"", "\""); response = response.replace("\\\\\\\"", "'"); +// response = response.replace("\\\"\\\\\\\"",""); response = response.replace("}\\", "} "); response = response.replace("\\", ""); diff --git a/src/main/resources/application-dev.yml b/src/main/resources/application-dev.yml index 5e6d970..3454468 100644 --- a/src/main/resources/application-dev.yml +++ b/src/main/resources/application-dev.yml @@ -1,7 +1,7 @@ spring: datasource: driver-class-name: com.p6spy.engine.spy.P6SpyDriver - url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_zyy?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true + url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_wms_pzh?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true username: root password: 123456 hikari: