修正API

This commit is contained in:
gongxh
2021-05-21 13:06:45 +08:00
parent edae082c51
commit 4abb93fd80
23 changed files with 201 additions and 28 deletions

View File

@@ -6,10 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class PuStoreInController : ApiController
{
[Obsolete]
[Route("api/PuStoreIn/Add")]
[HttpPost]
public object AddVoucher([FromBody] Model.Request.PuStoreIn storeIn)
@@ -18,7 +18,7 @@ namespace NX.ERP.WebAPi.Controllers.Store
return new { Id = dal.AddVocher(storeIn) };
}
[Obsolete]
[Route("api/PuStoreIn/Update")]
[HttpPost]
public object UpdateVoucher([FromBody] Model.Request.PuStoreIn storeIn)