huangxiaoqiang
2025-05-31 85658479fada95845412913e4dfcb44d2c20d882
Code Management/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/TaskController.cs
@@ -162,7 +162,7 @@
    /// <param name="input">请求数据</param>
    /// <returns></returns>
    [HttpPost, AllowAnonymous, Route("GetFROutTrayToCW")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5秒节流
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 15 })] // 5秒节流
    public async Task<WebResponseContent> GetFROutTrayToCW([FromBody] RequestTaskDto input)
    {
        return await Service.GetFROutTrayToCW(input);
@@ -174,7 +174,6 @@
    /// <param name="input">请求数据</param>
    /// <returns></returns>
    [HttpPost, AllowAnonymous, Route("EmergencyTask")]
    [TypeFilter(typeof(ThrottleFilter), Arguments = new object[] { 5 })] // 5秒节流
    public WebResponseContent EmergencyTask([FromBody] object input)
    {
        return Service.EmergencyTask(input);
@@ -215,4 +214,34 @@
    {
        return await Service.SetEmptyOutbyInToOutOneAsync(input);
    }
    [HttpPost, AllowAnonymous, Route("GetTaskInfo")]
    public WebResponseContent GetTaskInfo()
    {
        return Service.GetTaskInfo();
    }
    [HttpPost, AllowAnonymous, Route("GetStockInfo")]
    public WebResponseContent GetStockInfo()
    {
        return Service.GetStockInfo();
    }
    /// <summary>
    /// 获取库存信息
    /// </summary>
    /// <returns></returns>
    [HttpPost, AllowAnonymous, Route("GetStockQuantity")]
    public WebResponseContent GetStockQuantity()
    {
        return Service.GetStockQuantity();
    }
    [HttpPost, AllowAnonymous, Route("Getproductionvolume")]
    public WebResponseContent Getproductionvolume()
    {
        return Service.Getproductionvolume();
    }
    [HttpPost, AllowAnonymous, Route("Getoutput")]
    public WebResponseContent Getoutput()
    {
        return Service.Getoutput();
    }
}