自定义定时任务,代码逻辑调整
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user