增加同步物料接口

This commit is contained in:
18942506660
2024-11-20 10:32:52 +08:00
parent 338c69f2cf
commit 488c5dbe1e
8 changed files with 220 additions and 2 deletions

View File

@@ -49,7 +49,7 @@ namespace WMS.Web.Repositories.DependencyInjection
string[] pathlist = path.Split('/');
bool isLogin = pathlist.Where(x => x == "login" || x.ToLower() == "heart"
|| x.ToLower() == "test" || x.ToLower() == "serialnumber" || x.ToLower() == "barcode" ||
x.ToLower() == "swagger" || x.ToLower() == "productinventory").Any();
x.ToLower() == "swagger" || x.ToLower() == "productinventory" || x.ToLower() == "material").Any();
if (isLogin)
{
context.Response.StatusCode = 200;