Browse Source

REPORT-81231【运营产品化二期】alphafine不选择任何TAB,点击alphafine,日志中出现报错

REPORT-81241【运营产品化二期】插件中心断网后的重新加载无反应
REPORT-80752【运营产品化二期】动态无法显示出来,若插件中心在首个也无法显示
REPORT-81211【运营产品化二期】插件模块查询的推荐与视觉图UI不一致
1、修改pr
feature/x
Link.Zhao 2 years ago
parent
commit
1c781a2c9b
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java

3
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/download/FineMarketDownloadManager.java

@ -11,6 +11,7 @@ import com.fr.design.mainframe.alphafine.AlphaFineHelper;
import com.fr.design.mainframe.alphafine.model.TemplateResource;
import com.fr.design.mainframe.alphafine.search.helper.FineMarketClientHelper;
import com.fr.design.mainframe.toast.SimpleToast;
import com.fr.file.FileCommonUtils;
import com.fr.general.IOUtils;
import com.fr.log.FineLoggerFactory;
@ -81,7 +82,7 @@ public class FineMarketDownloadManager {
File file = new File(fileName);
File parentDir = file.getParentFile();
// TODO:之前用的gbk解码太容易乱码了。这里应该自动识别编码,然后解压,但是要添加1个三方包,可能会赶不上发布。所以先暂时用utf8顶着。
IOUtils.unzip(file, parentDir.getAbsolutePath(), "UTF-8");
IOUtils.unzip(file, FileCommonUtils.getAbsolutePath(parentDir), "UTF-8");
}
}

Loading…
Cancel
Save