Explorar o código

修改设备实时数据查询对外API接口

james hai 1 mes
pai
achega
3617ba7dca

+ 2 - 2
data-tsdb-proxy/data-tsdb-proxy-api/src/main/java/com/usky/demo/RemoteTsdbProxyService.java

@@ -15,7 +15,7 @@ public interface RemoteTsdbProxyService {
     /**
      * 设备实时数据查询
      */
-    @PostMapping("/lastQuery")
+    @PostMapping("/last")
     List<LastInnerResultVO> last(@RequestBody LastInnerQueryVO requestVO);
 
     /**
@@ -31,7 +31,7 @@ public interface RemoteTsdbProxyService {
      * @param requestVO
      * @return
      */
-    @PostMapping("/last")
+    @PostMapping("/externalLast")
     List<LastResultVO> queryLastDeviceData(@RequestBody LastRequestVO requestVO);
 
     /**