Browse Source

REPORT-81246【运营产品化二期10.0】模板商城断网后的刷新点击无反应(联网后仍存在报错)

修改云端常量的获取方式
security/10.0
Link.Zhao 2 years ago
parent
commit
1eb13c5e5d
  1. 26
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/AlphaFineCloudConstants.java

26
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/AlphaFineCloudConstants.java

@ -135,26 +135,26 @@ public class AlphaFineCloudConstants {
* get ALPHA_HELP_RECOMMEND
*/
public static String getAlphaHelpRecommend() {
String QUICK_START_URL = CloudCenter.getInstance().acquireUrlByKind("af.help.quick.start");
String quickStartUrl = CloudCenter.getInstance().acquireUrlByKind("af.help.quick.start");
String REPORT_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.report.learning.path");
String reportLearningPath = CloudCenter.getInstance().acquireUrlByKind("af.help.report.learning.path");
String PARAMETER_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.param.learning.path");
String parameterLearningPath = CloudCenter.getInstance().acquireUrlByKind("af.help.param.learning.path");
String FILL_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.fill.learning.path");
String fillLearningPath = CloudCenter.getInstance().acquireUrlByKind("af.help.fill.learning.path");
String API_SUMMARY = CloudCenter.getInstance().acquireUrlByKind("af.help.api.summary");
String apiSummary = CloudCenter.getInstance().acquireUrlByKind("af.help.api.summary");
String MONTHLY_DOCUMENT = CloudCenter.getInstance().acquireUrlByKind("af.help.monthly.document");
String monthlyDocument = CloudCenter.getInstance().acquireUrlByKind("af.help.monthly.document");
String DEFAULT_RECOMMEND = "[ {\"name\":\"快速入门指南\", \"link\":\"" + QUICK_START_URL + "\"}," +
"{\"name\":\"报表应用学习路径\", \"link\":\"" + REPORT_LEARNING_PATH + "\"}," +
"{\"name\":\"参数应用学习路径\", \"link\":\"" + PARAMETER_LEARNING_PATH + "\"}," +
"{\"name\":\"填报学习路径\", \"link\":\"" + FILL_LEARNING_PATH + "\"}," +
"{\"name\":\"API接口汇总\", \"link\":\"" + API_SUMMARY + "\"}," +
"{\"name\":\"文档月刊\", \"link\":\"" + MONTHLY_DOCUMENT + "\"} ]";
String defaultRecommend = "[ {\"name\":\"快速入门指南\", \"link\":\"" + quickStartUrl + "\"}," +
"{\"name\":\"报表应用学习路径\", \"link\":\"" + reportLearningPath + "\"}," +
"{\"name\":\"参数应用学习路径\", \"link\":\"" + parameterLearningPath + "\"}," +
"{\"name\":\"填报学习路径\", \"link\":\"" + fillLearningPath + "\"}," +
"{\"name\":\"API接口汇总\", \"link\":\"" + apiSummary + "\"}," +
"{\"name\":\"文档月刊\", \"link\":\"" + monthlyDocument + "\"} ]";
return CloudCenter.getInstance().acquireUrlByKind("af.recommend", DEFAULT_RECOMMEND);
return CloudCenter.getInstance().acquireUrlByKind("af.recommend", defaultRecommend);
}
}

Loading…
Cancel
Save