|
@@ -46,9 +46,9 @@ public class DeviceController {
|
|
|
return ApiResult.success(deviceGateway.deviceBind(request));
|
|
|
}
|
|
|
|
|
|
- @GetMapping("/queryDeviceInfoById/{devId}")
|
|
|
+ @GetMapping("/queryDeviceInfoById")
|
|
|
@Operation(summary = "设备详情")
|
|
|
- public ApiResult<DeviceDTO> queryDeviceInfoById(@PathVariable("devId") String devId) {
|
|
|
+ public ApiResult<DeviceDTO> queryDeviceInfoById(@RequestParam String devId) {
|
|
|
return ApiResult.success(deviceGateway.queryDeviceById(devId));
|
|
|
}
|
|
|
|