将定时任务改为,发布、订阅模式的消息队列执行任务
This commit is contained in:
@@ -58,7 +58,7 @@ namespace Tnb.WarehouseMgr
|
||||
/// 齐套分拣(新增状态)
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
[HttpPost, Timed(Name = nameof(PackSortingByAdd))]
|
||||
public async Task PackSortingByAdd(CancellationTokenSource? cts = default)
|
||||
{
|
||||
var aToken = await _cacheManager.GetAsync("AccessToken");
|
||||
|
||||
Reference in New Issue
Block a user