bug修复轨迹不展示

liujun-2024-05-23-接口漏洞修复
liujun 2024-04-23 18:30:39 +08:00
parent 2b5e24254f
commit b5acd5f91d
4 changed files with 30 additions and 0 deletions

View File

@ -25,5 +25,7 @@ public interface DwService {
// 第二版定位接口
Object getLastProp(GetLastPropDto dto) throws Exception;
Object getAllMessage() throws Exception;
Object getCameraList(GetCameraListDto dto) throws Exception;
Object getCameraInfo(GetCameraInfoDto dto) throws Exception;
}

View File

@ -0,0 +1,8 @@
package com.zcloud.service.dw.dto;
import lombok.Data;
@Data
public class GetCameraInfoDto {
private String id;
}

View File

@ -0,0 +1,10 @@
package com.zcloud.service.dw.dto;
import lombok.Data;
@Data
public class GetCameraListDto {
private String name;
private int current;
private int size;
}

View File

@ -77,4 +77,14 @@ public class DwServiceImpl implements DwService {
public Object getAllMessage() throws Exception {
return HttpUtil.post(url + "dw/getAllMessage",null);
}
@Override
public Object getCameraList(GetCameraListDto dto) throws Exception {
return HttpUtil.post(url + "dw/getCameraList",dto);
}
@Override
public Object getCameraInfo(GetCameraInfoDto dto) throws Exception {
return HttpUtil.post(url + "dw/getCameraInfo",dto);
}
}