From b346ce6a2740c4fc09027d8edeea32eb2f71293e Mon Sep 17 00:00:00 2001 From: fyf Date: Tue, 31 May 2022 11:57:03 +0800 Subject: [PATCH] wew --- DataVAPI/Controllers/OrderController.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/DataVAPI/Controllers/OrderController.cs b/DataVAPI/Controllers/OrderController.cs index db4e211..89fef52 100644 --- a/DataVAPI/Controllers/OrderController.cs +++ b/DataVAPI/Controllers/OrderController.cs @@ -225,9 +225,9 @@ namespace DataVAPI.Controllers } aly_data.Add( new { - ClientId = p.ClientId, + ClientId = p.ClientId.ToString(), ClientName = p.ClientName, - DeviceID = p.DeviceID, + DeviceID = p.DeviceID.ToString(), DeviceName = p.DeviceName, DeviceTypeKey = p.DeviceTypeKey, AlyName = dev != null ? dev.devicename : "", @@ -237,7 +237,7 @@ namespace DataVAPI.Controllers object _data = new { Name = item.Value?[0]?.ClientName, - ClientId = item.Value?[0]?.ClientId, + ClientId = item.Value?[0]?.ClientId.ToString(), DeviceList= aly_data, FirstName = namesy, FirstDeviceID= devid @@ -291,9 +291,9 @@ namespace DataVAPI.Controllers }); object obj = new { - ClientId= p.ClientId, + ClientId= p.ClientId.ToString(), ClientName= p.ClientName, - DeviceID= p.DeviceID, + DeviceID= p.DeviceID.ToString(), DeviceName= p.DeviceName, DeviceTypeKey = p.DeviceTypeKey, AlyName= dev!=null?dev.devicename: "",