using NX.ERP.U8; using NX.ERP.U8.Base; using System; using System.Collections.Generic; using System.Linq; using System.Net; using System.Net.Http; using System.Web.Http; namespace NX.ERP.WebAPi.Controllers { /// /// 客户信息 /// /// public class CustomerController : ApiController { /// /// /// /// /// [Route("api/Customer/List")] [HttpGet] public IEnumerable List(long Pubufts = 0) { var customerDAL = new CustomerDAL(); return customerDAL.GetList(Pubufts); } /// /// 查询 /// /// /// [Route("api/Customer/Query")] [HttpPost] public IEnumerable Query(NX.ERP.Model.Request.Customer Param) { var customerDAL = new CustomerDAL(); return customerDAL.GetList(Param); } // GET api/values/5 } }