屏蔽某些API
This commit is contained in:
@@ -20,7 +20,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
// GET api/values
|
||||
|
||||
[Obsolete]
|
||||
[Route("api/Customer/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Customer> List()
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class MaterielController : ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/Materiel/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Materiel> List()
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class MaterielTypeController:ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/MaterielType/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<MaterielType> List()
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class PositionController : ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/Position/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Bin> List()
|
||||
|
||||
@@ -10,6 +10,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class SupplierController : ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/Supplier/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Supplier> List()
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class UnitController : ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/Unit/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Unit> List()
|
||||
|
||||
@@ -9,6 +9,7 @@ namespace NX.ERP.WebAPi.Controllers
|
||||
{
|
||||
public class WarehouseController : ApiController
|
||||
{
|
||||
[Obsolete]
|
||||
[Route("api/Warehouse/List")]
|
||||
[HttpGet]
|
||||
public IEnumerable<Model.Warehouse> List()
|
||||
|
||||
Reference in New Issue
Block a user