From 258a769f6790f832d1c67839d59be04a118767e5 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期日, 28 四月 2024 10:50:48 +0800
Subject: [PATCH] 用时分析代码整理+注释整理

---
 smart-man-boot/src/main/java/com/qianwen/smartman/modules/sync/api/QyWechatApi.java |    8 +++-----
 1 files changed, 3 insertions(+), 5 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..f3d7b27 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
@@ -33,8 +33,6 @@
 import com.qianwen.smartman.modules.sync.entity.QyUserTicket;
 import com.qianwen.smartman.modules.sync.service.impl.OuterAppConfigServiceImpl;
 
-
-/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/api/QyWechatApi.class */
 public class QyWechatApi {
     private static final Logger log = LoggerFactory.getLogger(QyWechatApi.class);
 
@@ -179,7 +177,7 @@
         String responseData = HttpUtil.get(requestUrl);
         log.info("[浼佷笟寰俊API].[list->api璋冪敤 response class={},responseData={}]", responseClass, responseData);
         if (StrUtil.isEmpty(responseData)) {
-            return new ArrayList();
+            return new ArrayList<>();
         }
         return parseResponseDataList(responseData, responseClass, responseKey);
     }
@@ -245,9 +243,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