根据新需求更改
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user