using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Rhea.Common;
using Tiger.Model;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Tiger.Model.Minsun;
using Tiger.IBusiness;
namespace Tiger.Api.Controllers.WMS
{
public partial class WMSController : ControllerBase
{
///
/// 备料完成通知
///
///
///
[HttpPost]
[Route("api/[controller]/[action]")]
public IActionResult VenderAsync([FromBody] iVenderParams action)
{
ApiAction response = new();
try
{
response = response.GetResponse(DI.Resolve().GetVenderInfoToDDL(action));
}
catch (System.Exception ex)
{
response = response.GetResponse().CatchExceptionWithLog(ex);
}
return Ok(response);
}
}
}