根据新需求更改

This commit is contained in:
2025-09-17 17:22:09 +08:00
parent e7adae128e
commit a954427d41
21 changed files with 633 additions and 126 deletions

View File

@@ -1,4 +1,4 @@
using Azure;
using Azure;
using FastEndpoints;
using MoviconWebApi.Common;
@@ -73,7 +73,9 @@ namespace MoviconWebApi.API.DeviceStateApi
{
try
{
var (items, total) = await Data.GetDeviceStatePagedAsync(_db, req);
var result = await Data.GetDeviceStatePagedAsync(_db, req);
var items = result.Item1;
var total = result.Item2;
var pagedResponse = new DeviceStatePagedResponse
{
Items = items,