Browse Source

AGC接口添加新选项卡

王波 1 month ago
parent
commit
d0f2b94837

+ 5 - 2
runeconomy-xk/src/main/java/com/gyee/runeconomy/controller/agc/AgcDeviateController.java

@@ -6,7 +6,6 @@ import cn.hutool.core.date.DateUtil;
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.TypeReference;
 import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.core.mapper.BaseMapper;
 import com.gyee.common.model.PointData;
 import com.gyee.runeconomy.config.GyeeConfig;
 import com.gyee.runeconomy.init.CacheContext;
@@ -16,7 +15,6 @@ import com.gyee.runeconomy.model.StatusTime;
 import com.gyee.runeconomy.model.auto.PointInfo;
 import com.gyee.runeconomy.model.auto.ProBasicEquipment;
 import com.gyee.runeconomy.model.auto.ProBasicEquipmentPoint;
-import com.gyee.runeconomy.service.PowerLossesService;
 import com.gyee.runeconomy.service.agc.AgcDeviateService;
 import com.gyee.runeconomy.service.auto.IPointInfoService;
 import com.gyee.runeconomy.util.realtimesource.IEdosUtil;
@@ -79,6 +77,11 @@ public class AgcDeviateController {
         }
         return ls.stream().collect(Collectors.toMap(AgcDeviateTag::getName, f -> f));
     }
+
+    /**
+     * 限电时间列表
+     * @return
+     */
     @GetMapping("/xdloss")
     public List<PowerLosses> getxdData() {
         QueryWrapper<PowerLosses> queryWrapper = new QueryWrapper<>();