From a36d93e531c292240dc59cb8e712b2eca21a4066 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 01 四月 2024 22:13:06 +0800
Subject: [PATCH] sync模块修复
---
smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java
index 9357418..c11f216 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java
@@ -245,9 +245,9 @@
throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.login.invalid.code", new Object[0]), 400));
}
if (errCode.intValue() == 60020) {
- throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.ip.trust", new Object[0]) + SystemPropertyUtils.VALUE_SEPARATOR + errMsg, 400));
+ throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.ip.trust", new Object[0]) + ":" + errMsg, 400));
}
- throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.api.error", new Object[0]) + SystemPropertyUtils.VALUE_SEPARATOR + errMsg, 400));
+ throw new ServiceException(setResultCode(MessageUtils.message("sync.qy.api.error", new Object[0]) + ":" + errMsg, 400));
}
private static IResultCode setResultCode(final String errMsg, final Integer code) {
--
Gitblit v1.9.3