From 6cbeec5fa8e11547b1baec937575376b780aeb2e Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期二, 09 四月 2024 13:38:54 +0800
Subject: [PATCH] manboot能启动了
---
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