Commit 56dd7fb6 authored by 黄奎's avatar 黄奎

11

parent bbf3b6b5
...@@ -2163,6 +2163,14 @@ namespace Mall.WebApi.Controllers.TradePavilion ...@@ -2163,6 +2163,14 @@ namespace Mall.WebApi.Controllers.TradePavilion
TenantId = RequestParm.TenantId, TenantId = RequestParm.TenantId,
BrandCategory = (BrandCategoryEnum)parms.GetInt("BrandCategory"), BrandCategory = (BrandCategoryEnum)parms.GetInt("BrandCategory"),
}; };
if (query.TenantId == 18)
{
int BrandCategory = parms.GetInt("BrandCategory");
if (BrandCategory == 0)
{
query.BrandCategory = BrandCategoryEnum.ConsumerBrand;
}
}
var list = carrierModule.GetBrandClassListModule(query); var list = carrierModule.GetBrandClassListModule(query);
return ApiResult.Success(data: list); return ApiResult.Success(data: list);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment