using Microsoft.AspNetCore.Mvc; using Rhea.Common; using Tiger.Model; using Tiger.Model.Minsun; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Tiger.IBusiness; namespace Tiger.Api.Controllers.WMS { public partial class SrmController: ControllerBase { /// /// WMS提供对外Srm数据接口,思华拉取Srm数据 /// /// /// [HttpPost] [Route("api/[controller]/[action]")] public async Task GetSrmDlvysAsync([FromBody] iSrmToShParams input) { ApiAction response = new(); try { response = response.GetResponse(await _ISrmDataToSiHua.GetSrmDlvys(input)); } catch (System.Exception ex) { response = response.GetResponse().CatchExceptionWithLog(ex); } return Ok(response); } } }