增加导入微信数据失败日志

This commit is contained in:
chfei committed 2026-10-15 16:27:23 +08:00
1 parent 32c4213fcf
commit fd0fd6a6ac
1 file changed
+23 -21
@@ -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;
}
}
}