自定义定时任务,代码逻辑调整

This commit is contained in:
alex
2023-08-17 15:14:10 +08:00
parent 333e4cc1f1
commit d836d3820c
3 changed files with 73 additions and 7 deletions

View File

@@ -231,11 +231,6 @@ namespace Tnb.WarehouseMgr
Stopwatch sw = Stopwatch.StartNew();
CancellationTokenSource agvCts = new();
//获取用户登录令牌
//var aToken = await _cacheManager.GetAsync("AsscessToken");
//if (aToken.IsNullOrWhiteSpace()) return;
//var curUser = await GetUserIdentity(aToken);
var db = _db.CopyNew();
try
{