using DS.Module.Core; using DS.WMS.Core.Flow.Dtos; using DS.WMS.Core.Op.Dtos; using DS.WMS.Core.Op.Interface; using Microsoft.AspNetCore.Mvc; namespace DS.WMS.OpApi.Controllers { /// /// 海运出口退舱服务 /// public class SeaExportRefundController : ApiController { private readonly ISeaExportRefundService _invokeService; /// /// 构造函数 /// /// public SeaExportRefundController(ISeaExportRefundService invokeService) { _invokeService = invokeService; } /// /// 创建退舱审核任务 /// /// /// [HttpPost] [Route("CreateRefundAuditTask")] public async Task CreateRefundAuditTaskAsync([FromBody] RefundTaskReq req) { var res =await _invokeService.CreateRefundAuditTaskAsync(req); return res; } /// /// 退仓审核完成回调 /// /// /// [HttpPost] [Route("RefundAuditCallback")] public async Task RefundAuditCallbackAsync([FromBody] FlowCallback req) { var res = await _invokeService.RefundAuditCallbackAsync(req); return res; } } }