Browse Source

wew

master
fyf 2 years ago
parent
commit
b346ce6a27
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      DataVAPI/Controllers/OrderController.cs

+ 5
- 5
DataVAPI/Controllers/OrderController.cs View File

@@ -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: "",


Loading…
Cancel
Save