Commit d851a7fc authored by 黄奎's avatar 黄奎

1

parent 13e3661f
......@@ -819,7 +819,14 @@ namespace Mall.Module.TradePavilion
}
if (!string.IsNullOrWhiteSpace(model.BrandModel.PropertyDemand))
{
model.BrandModel.PropertyDemandList = Common.ConvertHelper.ConvertToListString(model.BrandModel.PropertyDemand);
try
{
model.BrandModel.PropertyDemandList = Common.ConvertHelper.ConvertToListString(model.BrandModel.PropertyDemand);
}
catch(Exception ex)
{
Common.Plugin.LogHelper.Write(ex, "GetCompanyByUserIdModule_Brand_PropertyDemandList");
}
//Common.ConvertHelper.ConvertToListString(model.BrandModel.PropertyDemand);
}
else
......@@ -943,7 +950,15 @@ namespace Mall.Module.TradePavilion
}
if (!string.IsNullOrWhiteSpace(model.BrandModel.PropertyDemand))
{
model.BrandModel.PropertyDemandList = JsonConvert.DeserializeObject<List<string>>(model.BrandModel.PropertyDemand);
//model.BrandModel.PropertyDemandList = JsonConvert.DeserializeObject<List<string>>(model.BrandModel.PropertyDemand);
try
{
model.BrandModel.PropertyDemandList = Common.ConvertHelper.ConvertToListString(model.BrandModel.PropertyDemand);
}
catch (Exception ex)
{
Common.Plugin.LogHelper.Write(ex, "GetCompanyByUserIdModule_Brand_PropertyDemandList1");
}
}
else
{
......
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