using Microsoft.AspNetCore.Authorization;
|
using Microsoft.AspNetCore.Http;
|
using Microsoft.AspNetCore.Mvc;
|
using WIDESEA_Core;
|
using WIDESEA_Core.BaseController;
|
using WIDESEA_DTO.SquareCabin;
|
using WIDESEA_ISquareCabinServices;
|
using WIDESEA_Model.Models;
|
using static WIDESEA_DTO.SquareCabin.TowcsDto;
|
|
namespace WIDESEA_WMSServer.Controllers
|
{
|
[Route("api/Inventory")]
|
[ApiController]
|
public class InventoryController : ApiBaseController<IInventoryServices, Dt_Inventory>
|
{
|
public InventoryController(IInventoryServices service) : base(service)
|
{
|
}
|
|
[HttpPost,Route("OrderFeedback"),AllowAnonymous]
|
public ApiResponse<Dt_InventoryInfo> OrderFeedback([FromBody]EdiOrderCallbackRequest request)
|
{
|
return Service.OrderFeedback(request);
|
}
|
|
[HttpPost,Route("GetInventoryList"),AllowAnonymous]
|
public WebResponseContent GetInventoryList([FromBody]int[] key)
|
{
|
return Service.GetInventoryList(key);
|
}
|
}
|
}
|