将定时任务操作者改为,当前系统管理员

This commit is contained in:
alex
2023-09-24 13:58:17 +08:00
parent 9d07e7c068
commit 8cb934c3b0
8 changed files with 36 additions and 30 deletions

View File

@@ -377,19 +377,6 @@ namespace Tnb.WarehouseMgr
return Task.FromResult(true);
}
/// <summary>
/// 测试获取路径
/// </summary>
/// <returns></returns>
[HttpGet]
public async Task<dynamic> GetTest()
{
//D:\Workspce\tianyi\TuoTong-LowCodePlatform-BackEnd\apihost\Tnb.API.Entry\bin\Debug\net6.0\
var dllPath = Path.Combine(AppContext.BaseDirectory, @"Library\x64");
var files = Directory.GetFiles(dllPath);
return dllPath;
}
public async Task<dynamic> PrintTest(List<string> barCodes)
{