|
|
@ -1,6 +1,7 @@ |
|
|
|
package com.fr.design.update.actions; |
|
|
|
package com.fr.design.update.actions; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import com.fr.common.util.Strings; |
|
|
|
import com.fr.design.utils.BrowseUtils; |
|
|
|
import com.fr.design.utils.BrowseUtils; |
|
|
|
import com.fr.general.CloudCenter; |
|
|
|
import com.fr.general.CloudCenter; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
@ -16,10 +17,15 @@ import java.awt.event.ActionListener; |
|
|
|
public class NewFeatureAction implements ActionListener { |
|
|
|
public class NewFeatureAction implements ActionListener { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public static String DEFAULT_UPDATE_DETAIL_URL = "https://help.fanruan.com/finereport/doc-view-4699.html"; |
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
String url = CloudCenter.getInstance().acquireConf("fr.latest.update.detail", "https://help.fanruan.com/finereport/doc-view-4699.html"); |
|
|
|
String url = CloudCenter.getInstance().acquireConf("fr.latest.update.detil"); |
|
|
|
|
|
|
|
if (Strings.isEmpty(url)) { |
|
|
|
|
|
|
|
url = DEFAULT_UPDATE_DETAIL_URL; |
|
|
|
|
|
|
|
} |
|
|
|
BrowseUtils.browser(url); |
|
|
|
BrowseUtils.browser(url); |
|
|
|
} catch (Exception ex) { |
|
|
|
} catch (Exception ex) { |
|
|
|
FineLoggerFactory.getLogger().error(ex.getMessage()); |
|
|
|
FineLoggerFactory.getLogger().error(ex.getMessage()); |
|
|
|