using DS.Module.Core;
using DS.WMS.Core.Op.Dtos;
using DS.WMS.Core.Op.Interface;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace DS.WMS.OpApi.Controllers
{
///
/// 数据回调-服务
///
public class DataCallBackController : ApiController
{
private readonly IDataCallBackService _invokeService;
///
/// 构造函数
///
///
public DataCallBackController(IDataCallBackService invokeService)
{
_invokeService = invokeService;
}
///
/// 插入货运动态
///
///
///
[HttpPost]
[Route("AddBookingStatusLog")]
[AllowAnonymous]
public async Task AddBookingStatusLog([FromBody]List req)
{
await _invokeService.AddBookingStatusLog(req);
}
}
}