|
@@ -62,7 +62,7 @@ public class DeviceController {
|
|
|
* @return
|
|
|
*/
|
|
|
@GetMapping("deviceList")
|
|
|
- public ApiResult<List<DeviceList>> deviceList(@RequestParam String siteId) {
|
|
|
+ public ApiResult<List<DeviceList>> deviceList(@RequestParam(value = "siteId", required = false, defaultValue = "0") String siteId) {
|
|
|
return ApiResult.success(deviceService.deviceList(siteId));
|
|
|
}
|
|
|
|