修改
This commit is contained in:
18
NX.ERP.WebAPi/Controllers/Store/StockController.cs
Normal file
18
NX.ERP.WebAPi/Controllers/Store/StockController.cs
Normal file
@@ -0,0 +1,18 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers.Store
|
||||
{
|
||||
public class StockController: ApiController
|
||||
{
|
||||
[HttpPost]
|
||||
[Route("api/Stock/GetStock")]
|
||||
public IEnumerable<Model.Response.Store.Stock> GetList()
|
||||
{
|
||||
return new U8.Store.StockDAL().GetList();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user