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: