Browse Source

增加一个get接口

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

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

@@ -42,7 +42,7 @@ namespace DataVAPI.Controllers
{
FullScreenInput fullScreen = new FullScreenInput();
if (OrgId.HasValue) fullScreen.OrgId = OrgId;
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId;
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId;
object retdata = orderProvider.GetAllOrderDataState(fullScreen);
return JsonMsg<object>.OK(retdata, st);
}
@@ -129,14 +129,14 @@ namespace DataVAPI.Controllers
/// <summary>
/// 下单数量
/// </summary>
[HttpPost]
[HttpGet]
public JsonMsg<object> OrderNumber(int? OrgId, int? DeviceId)
{
st = System.Reflection.MethodBase.GetCurrentMethod().Name;
try
{
FullScreenBasic fullScreen = new FullScreenBasic();
if(OrgId.HasValue) fullScreen.OrgId = OrgId;
if (OrgId.HasValue) fullScreen.OrgId = OrgId;
if (DeviceId.HasValue) fullScreen.DeviceId = DeviceId;
object retdata = orderProvider.OrderNumber(fullScreen);
return JsonMsg<object>.OK(retdata, st);


Loading…
Cancel
Save