屏蔽某些API

This commit is contained in:
admin
2021-01-21 16:00:58 +08:00
parent f84e9f2e5e
commit 9b672067cb
24 changed files with 101 additions and 38 deletions

View File

@@ -6,8 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class MaterielStoreOutController:ApiController
{
[Obsolete]
[Route("api/MaterialOut/Add")]
[HttpPost]

View File

@@ -6,8 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class OtherStoreInController:ApiController
{
[Obsolete]
[Route("api/OtherIn/Add")]
[HttpPost]
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)

View File

@@ -6,8 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class OtherStoreOutController : ApiController
{
[Obsolete]
[Route("api/OtherOut/Add")]
[HttpPost]
public string AddVoucher([FromBody] Model.Request.OtherStoreInOut storeIn)

View File

@@ -6,8 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class ProductStoreInController: ApiController
{
[Obsolete]
[Route("api/ProductStoreIn/Add")]
[HttpPost]
public object AddVoucher([FromBody] Model.Request.ProductStoreIn storeIn)

View File

@@ -6,8 +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)

View File

@@ -6,8 +6,10 @@ using System.Web.Http;
namespace NX.ERP.WebAPi.Controllers.Store
{
public class SaleStoreOutController : ApiController
{
[Obsolete]
[Route("api/SaleStoreOut/Add")]
[HttpPost]
public object AddVoucher([FromBody] Model.Request.SaleStoreOut storeIn)