云收藏 增加AI检测图片
This commit is contained in:
1 parent
b28940c02d
commit
b54a5f5310
36 files changed
+1978
-523
No files matched your search
@@ -12,7 +12,7 @@ namespace TemuKJD.BLL.ImportConverts
|
||||
{
|
||||
public class ConverterToPddFactory
|
||||
{
|
||||
private static List<IGoodsConverter> _converters = new List<IGoodsConverter>
|
||||
private static List<IGoodsConverter> CreateConverters() => new List<IGoodsConverter>
|
||||
{
|
||||
new ConverterToPddV5(),
|
||||
new ConverterWXToPddV1(),
|
||||
@@ -24,7 +24,7 @@ namespace TemuKJD.BLL.ImportConverts
|
||||
public static PDDFrontProductInfo5 Convert(string filePath)
|
||||
{
|
||||
|
||||
foreach (IGoodsConverter item in _converters)
|
||||
foreach (IGoodsConverter item in CreateConverters())
|
||||
{
|
||||
try
|
||||
{
|
||||
@@ -47,7 +47,7 @@ namespace TemuKJD.BLL.ImportConverts
|
||||
public static PDDFrontProductInfo5 SetContentConvert(string content)
|
||||
{
|
||||
|
||||
foreach (IGoodsConverter item in _converters)
|
||||
foreach (IGoodsConverter item in CreateConverters())
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user