From fee67ca8a0760315047a52fc4101a8f4f80b7a7f Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期一, 11 十一月 2024 15:02:54 +0800
Subject: [PATCH] 1

---
 src/main/java/com/moon/server/config/ScheduleConfig.java |   13 +------------
 1 files changed, 1 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/moon/server/config/ScheduleConfig.java b/src/main/java/com/moon/server/config/ScheduleConfig.java
index 4081942..630218d 100644
--- a/src/main/java/com/moon/server/config/ScheduleConfig.java
+++ b/src/main/java/com/moon/server/config/ScheduleConfig.java
@@ -15,12 +15,9 @@
 
 import java.util.List;
 
-/**
- * 鏃ョ▼閰嶇疆绫�
- * @author WWW
- */
 @Component
 @EnableScheduling
+@SuppressWarnings("ALL")
 public class ScheduleConfig {
     @Autowired
     AttachService attachService;
@@ -37,11 +34,8 @@
         try {
             JSONObject jsonObject = new JSONObject();
 
-            // 鏌ヨCpu淇℃伅
             jsonObject.put("cpuInfo", scheduleService.selectCpuInfo());
-            // 鏌ヨ鍐呭瓨淇℃伅
             jsonObject.put("memInfo", scheduleService.selectMemInfo());
-            // 鏌ヨ鍦ㄧ嚎鐢ㄦ埛
             jsonObject.put("userInfo", scheduleService.selectOnlineUsers());
 
             String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue);
@@ -57,7 +51,6 @@
         try {
             JSONObject jsonObject = new JSONObject();
 
-            // 鏌ヨ鏈嶅姟璧勬簮鐘舵��
             jsonObject.put("resInfo", scheduleService.selectResStatus());
 
             String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue);
@@ -74,16 +67,12 @@
         try {
             JSONObject jsonObject = new JSONObject();
 
-            // 鏈嶅姟璧勬簮鐘舵�� sys_res
             jsonObject.put("resUseCount", scheduleService.countResStatus());
 
-            // 鐢ㄦ埛鐧诲綍鐘舵�� sys_login
             jsonObject.put("userLoginCount", scheduleService.userLoginCount());
 
-            // 璧勬簮鎿嶄綔鐘舵�� sys_operate
             jsonObject.put("operateCount", scheduleService.operateCount());
 
-            // 璧勬簮璋冪敤鐘舵��
             String json = JSONObject.toJSONStringWithDateFormat(jsonObject, "yyyy-MM-dd HH:mm:ss", SerializerFeature.WriteMapNullValue);
 
             WebSocketService.broadCastInfo(json);

--
Gitblit v1.9.3