Procházet zdrojové kódy

公众号兼容"gongzhonghao", "gongzhongxinhao"

罗俊辉 před 1 rokem
rodič
revize
1cf47c540b

+ 1 - 1
etl-core/src/main/java/com/tzld/crawler/etl/service/impl/EtlServiceImpl.java

@@ -417,7 +417,7 @@ public class EtlServiceImpl implements EtlService {
                         String platfrm = param.getOrDefault("platform", "");
                         try {
                             // 下载文件
-                            if (platform.equals("gongzhongxinhao")) {
+                            if (platform.equals("gongzhongxinhao") || platform.equals("gongzhonghao")) {
                                 FileUtils.downloadForGZH(fileUrl, fpath,
                                         !CollectionUtils.isEmpty(randomUaPlatform) && randomUaPlatform.contains(platfrm)
                                         , !CollectionUtils.isEmpty(proxyPlatform) && proxyPlatform.contains(platfrm),