diff --git a/TEMUKJD/BLL/ImportConverters/ConvertToPddFactory.cs b/TEMUKJD/BLL/ImportConverters/ConvertToPddFactory.cs index ce208b0..c3a495e 100644 --- a/TEMUKJD/BLL/ImportConverters/ConvertToPddFactory.cs +++ b/TEMUKJD/BLL/ImportConverters/ConvertToPddFactory.cs @@ -1,4 +1,5 @@ -using AllBase.Model.Result.PDDResult; +using AllBase; +using AllBase.Model.Result.PDDResult; using NaiBa.Util.Extension; using System; using System.Collections.Generic; @@ -35,6 +36,7 @@ namespace TemuKJD.BLL.ImportConverts } catch (Exception ex) { + LogSave.Add("wx导入失败---"+ex.Message); throw ex; } } @@ -42,25 +44,25 @@ namespace TemuKJD.BLL.ImportConverts } - public static PDDFrontProductInfo5 SetContentConvert(string content) - { + public static PDDFrontProductInfo5 SetContentConvert(string content) + { - foreach (IGoodsConverter item in _converters) - { - try - { - item.SetContent(content.ParseToString()); - if (item.IsMatch()) - { - return item.Convert(); - } - } - catch (Exception ex) - { - throw ex; - } - } - return null; - } - } + foreach (IGoodsConverter item in _converters) + { + try + { + item.SetContent(content.ParseToString()); + if (item.IsMatch()) + { + return item.Convert(); + } + } + catch (Exception ex) + { + throw ex; + } + } + return null; + } + } }