增加 导入外部微信数据

This commit is contained in:
chfei committed 2026-08-19 12:13:42 +08:00
1 parent 5ed558e343
commit a9f7b1f831
13 files changed
+2088 -1589

No files matched your search

@@ -13,15 +13,17 @@ namespace TemuKJD.BLL.ImportConverts
private static List<IGoodsConverter> _converters = new List<IGoodsConverter>
{
new ConverterToPddV5(),
new ConverterWXToPddV1(),
};
public static PDDFrontProductInfo5 Convert(string data)
public static PDDFrontProductInfo5 Convert(string filePath)
{
foreach (var item in _converters)
foreach (IGoodsConverter item in _converters)
{
try
{
if (item.IsMatch(data))
item.ReadContent(filePath);
if (item.IsMatch())
{
return item.Convert();
}