yanjinhui
2 天以前 bfc11f87e2b64420c9917c0b9881b3e327d6f796
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
        }
    }
}