增加测试接口

This commit is contained in:
18942506660
2024-01-18 10:40:51 +08:00
parent 3a9092478d
commit c70b62ab99
2 changed files with 19 additions and 0 deletions

View File

@@ -120,6 +120,19 @@ namespace WMS.Web.Api.Controllers
return "";
}
/// <summary>
/// 手动同步老ops箱信息
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("RefreshOpsBox")]
public async Task<string> RefreshOpsBox()
{
if (!_env.IsDevelopment()) return "";
var result = await _boxService.Sync();
return "";
}
[HttpGet]
[Route("tf")]
public async Task<string> TestTF()