修正项目结构

This commit is contained in:
admin
2021-01-15 09:26:17 +08:00
parent 62bd133757
commit a2fd7eca0b
44 changed files with 230 additions and 73 deletions

View File

@@ -8,11 +8,12 @@ namespace NX.ERP.WebAPi.Controllers.Store
{
public class PuStoreInController : ApiController
{
[Route("api/PuStoreIn/Add")]
[HttpPost]
public string AddVoucher([FromBody] Model.Store.PuStoreIn storeIn)
public object AddVoucher([FromBody] Model.Request.PuStoreIn storeIn)
{
var dal = new NX.ERP.U8.Store.PuStoreInDAL();
return dal.AddVocher(storeIn);
return new { Id = dal.AddVocher(storeIn) };
}
}
}