From 6bacdb06bc02156bc8770f7717b465779e865b5b Mon Sep 17 00:00:00 2001 From: guyuliang Date: Mon, 26 Aug 2024 16:51:57 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E4=BB=A3=E5=8A=9E=E6=80=BB?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/bocloud/sms/service/IndexServiceImpl.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java index 6fb7bc7..b522552 100644 --- a/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java +++ b/bocloud.sms.service/src/main/java/com/bocloud/sms/service/IndexServiceImpl.java @@ -36,7 +36,6 @@ public class IndexServiceImpl implements IndexService { param.put("page", pager.getPage()); param.put("limit", pager.getRows()); String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class); - log.info("result:" + result); JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class); return new GeneralResult(true, jsonObject, "查询成功"); } catch (Exception e) { @@ -55,7 +54,6 @@ public class IndexServiceImpl implements IndexService { param.put("page",1); param.put("limit", Integer.MAX_VALUE); String result = ykUtil.call(YkInfo.getTaskList, param, JSONArray.class); - log.info("result:" + result); JSONObject jsonObject = JSONArray.parseObject(result, JSONObject.class); Integer total = jsonObject.getInteger("total"); @@ -76,7 +74,7 @@ public class IndexServiceImpl implements IndexService { resultMap.put("waitDoneTotal",waitDoneTotal); resultMap.put("doneTotal",doneTotal); - return new GeneralResult(true, "查询成功"); + return new GeneralResult(true, resultMap,"查询成功"); } catch (Exception e) { log.info("查询失败", e); return new GeneralResult(false, "查询失败");