|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe.share.util; |
|
|
|
import com.fr.base.theme.FormTheme; |
|
|
|
import com.fr.base.theme.FormTheme; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.DesignerEnvManager; |
|
|
|
import com.fr.design.extra.PluginConstants; |
|
|
|
import com.fr.design.extra.PluginConstants; |
|
|
|
|
|
|
|
import com.fr.design.login.config.DefaultLoginKeys; |
|
|
|
import com.fr.form.share.base.CancelCheck; |
|
|
|
import com.fr.form.share.base.CancelCheck; |
|
|
|
import com.fr.form.share.constants.ShareComponentConstants; |
|
|
|
import com.fr.form.share.constants.ShareComponentConstants; |
|
|
|
import com.fr.ftp.util.Base64; |
|
|
|
import com.fr.ftp.util.Base64; |
|
|
@ -45,10 +46,7 @@ import java.util.Set; |
|
|
|
* created by Harrison on 2020/05/27 |
|
|
|
* created by Harrison on 2020/05/27 |
|
|
|
**/ |
|
|
|
**/ |
|
|
|
public class DownloadUtils { |
|
|
|
public class DownloadUtils { |
|
|
|
private static final String CERTIFICATE_PUBLIC_KEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCtsz62CPSWXZE/IYZRiAuTSZkw\n" + |
|
|
|
private static final String CERTIFICATE_PUBLIC_KEY = DefaultLoginKeys.getInstance().getKey("Fine-Designer_Reu_Share_CERTIFICATE_PUBLIC_KEY"); |
|
|
|
"1WOwer8+JFktK0uKLAUuQoBr+UjAMFtRA8W7JgKMDwZy/2liEAiXEOSPU/hrdV8D\n" + |
|
|
|
|
|
|
|
"tT541LnGi1X/hXiRwuttPWYN3L2GYm/d5blU+FBNwghBIrdAxXTzYBc6P4KL/oYX\n" + |
|
|
|
|
|
|
|
"nMdTIrkz8tYkG3QoFQIDAQAB"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private static String getReusesUrl() { |
|
|
|
private static String getReusesUrl() { |
|
|
|
return StableUtils.pathJoin(OnlineShopUtils.getReuInfoPath(), "file/download"); |
|
|
|
return StableUtils.pathJoin(OnlineShopUtils.getReuInfoPath(), "file/download"); |
|
|
|