feat(trajectory): 新增轨迹检测与 Beacon 注册表
This commit is contained in:
@@ -39,14 +39,20 @@ public interface AreaDeviceApi {
|
||||
@PathVariable("areaId") Long areaId
|
||||
);
|
||||
|
||||
@GetMapping(PREFIX + "/{areaId}/devices")
|
||||
@Operation(summary = "查询区域设备列表(按类型)")
|
||||
CommonResult<List<AreaDeviceDTO>> getDevicesByAreaAndType(
|
||||
@Parameter(description = "区域ID", required = true, example = "1302")
|
||||
@PathVariable("areaId") Long areaId,
|
||||
@Parameter(description = "关联类型(BADGE/TRAFFIC_COUNTER/BEACON)", required = false, example = "BADGE")
|
||||
@RequestParam(value = "relationType", required = false) String relationType
|
||||
);
|
||||
@GetMapping(PREFIX + "/{areaId}/devices")
|
||||
@Operation(summary = "查询区域设备列表(按类型)")
|
||||
CommonResult<List<AreaDeviceDTO>> getDevicesByAreaAndType(
|
||||
@Parameter(description = "区域ID", required = true, example = "1302")
|
||||
@PathVariable("areaId") Long areaId,
|
||||
@Parameter(description = "关联类型(BADGE/TRAFFIC_COUNTER/BEACON)", required = false, example = "BADGE")
|
||||
@RequestParam(value = "relationType", required = false) String relationType
|
||||
);
|
||||
|
||||
// ==================== 全量查询 ====================
|
||||
|
||||
@GetMapping(PREFIX + "/beacons/all")
|
||||
@Operation(summary = "查询所有启用的Beacon设备(轨迹检测用)")
|
||||
CommonResult<List<AreaDeviceDTO>> getAllEnabledBeacons();
|
||||
|
||||
// ==================== 按设备查询 ====================
|
||||
|
||||
|
||||
Reference in New Issue
Block a user