添加报警窗口
出库流程调试、优化
This commit is contained in:
@ -77,7 +77,7 @@ namespace WCS.WebApi.Controllers
|
||||
{
|
||||
ShelfId = t.ShelfId,
|
||||
ShelfCode = t.ShelfCode,
|
||||
CurentMode = (int)t.CurentMode,
|
||||
CurentMode = (int)t.CurrentMode,
|
||||
ModulesStr = t.ModulesStr,
|
||||
GroupName = t.GroupName
|
||||
}).ToList(),
|
||||
|
@ -178,7 +178,7 @@ namespace WebApi.Controllers
|
||||
return new ResponseBase()
|
||||
{
|
||||
Code = 300,
|
||||
Message = "<22><>ѯʧ<EFBFBD>ܣ<EFBFBD>" + ex.Message,
|
||||
Message = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ģʽʧ<EFBFBD>ܣ<EFBFBD>" + ex.Message,
|
||||
};
|
||||
}
|
||||
}
|
||||
|
31
WCS.WebApi/Controllers/WarningController.cs
Normal file
31
WCS.WebApi/Controllers/WarningController.cs
Normal file
@ -0,0 +1,31 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using WCS.BLL.Services.IService;
|
||||
using WCS.Model;
|
||||
using WCS.Model.ApiModel;
|
||||
using WCS.Model.ApiModel.User;
|
||||
using WCS.Model.WebSocketModel;
|
||||
|
||||
namespace WCS.WebApi.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 权限/用户界面的接口
|
||||
/// </summary>
|
||||
[ApiController]
|
||||
[Route("[controller]")]
|
||||
public class WarningController : ControllerBase
|
||||
{
|
||||
public IWarningService _warningService { get; set; }
|
||||
|
||||
public WarningController(IWarningService warningService)
|
||||
{
|
||||
_warningService = warningService;
|
||||
}
|
||||
|
||||
[Route("solveWarning")]
|
||||
[HttpPost(Name = "solveWarning")]
|
||||
public async Task<ResponseBase> SolveWarning(SolveWarningRequest request)
|
||||
{
|
||||
return await _warningService.SolveWarning(request);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user