Commit 52a00788 authored by 吴春's avatar 吴春
parents 3881566c d851a7fc
...@@ -819,7 +819,15 @@ namespace Mall.Module.TradePavilion ...@@ -819,7 +819,15 @@ namespace Mall.Module.TradePavilion
} }
if (!string.IsNullOrWhiteSpace(model.BrandModel.PropertyDemand)) 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 else
{ {
...@@ -942,7 +950,15 @@ namespace Mall.Module.TradePavilion ...@@ -942,7 +950,15 @@ namespace Mall.Module.TradePavilion
} }
if (!string.IsNullOrWhiteSpace(model.BrandModel.PropertyDemand)) 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 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