添加领料申请
This commit is contained in:
@@ -6,15 +6,15 @@ using System.Web.Http;
|
||||
|
||||
namespace NX.ERP.WebAPi.Controllers.Store
|
||||
{
|
||||
public class MaterialAppVoucherController: ApiController
|
||||
public class MaterialAppVoucherController : ApiController
|
||||
{
|
||||
[Route("api/MaterialAppVoucher/Add")]
|
||||
[Route("api/MaterialAppVoucher/List")]
|
||||
[HttpPost]
|
||||
|
||||
public string Add()
|
||||
public IEnumerable<Model.Response.Store.MaterialApp> Lsit()
|
||||
{
|
||||
var dal = new NX.ERP.U8.Store.MaterialAppVoucher();
|
||||
return dal.AddVoucher(new { });
|
||||
return dal.GetList();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
-->
|
||||
<configuration>
|
||||
<appSettings>
|
||||
<add key="server" value="192.168.1.14" />
|
||||
<add key="server" value="172.30.6.150" />
|
||||
<add key="AccId" value="002" />
|
||||
<add key="UserId" value="0001" />
|
||||
<add key="Password" value="123456" />
|
||||
|
||||
Reference in New Issue
Block a user