优化接口

This commit is contained in:
tongfei
2024-04-12 16:18:25 +08:00
parent 66bda8dc7d
commit 058f558f9e
3 changed files with 25 additions and 1 deletions

View File

@@ -359,6 +359,21 @@ namespace WMS.Web.Api.Controllers
return await _materialService.SyncNewMaterials();
}
/// <summary>
///
/// </summary>
/// <returns></returns>
[HttpGet]
[Route("getmt")]
public async Task<bool> GetMaterial()
{
var materials_result = await _erpService.BillQueryForMaterial();
var materials = materials_result.Data.ToList();
var tt = "";
return true;
}
/// <summary>
/// 清空缓存
/// </summary>