Destiny.Lin
2 years ago
17 changed files with 106 additions and 81 deletions
@ -0,0 +1,66 @@ |
|||||||
|
package com.fr.design.actions.help.alphafine; |
||||||
|
|
||||||
|
import com.fr.general.CloudCenter; |
||||||
|
|
||||||
|
/** |
||||||
|
* 需要从云端获取的常量单独放一起 |
||||||
|
* 以防AlphaFineConstants被加载时,CloudCenter还没启动,导致常量获取不到。 |
||||||
|
* |
||||||
|
* @author Link |
||||||
|
* @version 11.0 |
||||||
|
* Created by Link on 2022/9/21 |
||||||
|
*/ |
||||||
|
public class AlphaFineCloudConstants { |
||||||
|
|
||||||
|
public static final String PLUGIN_SEARCH_URL = CloudCenter.getInstance().acquireUrlByKind("plugin.searchAPI"); |
||||||
|
|
||||||
|
public static final String SEARCH_ALL_PLUGIN_URL = CloudCenter.getInstance().acquireUrlByKind("plugin.all.searchAPI"); |
||||||
|
|
||||||
|
public static final String PLUGIN_URL = CloudCenter.getInstance().acquireUrlByKind("af.pluginInfo"); |
||||||
|
|
||||||
|
public static final String REUSE_URL = CloudCenter.getInstance().acquireUrlByKind("af.reuseInfo"); |
||||||
|
|
||||||
|
public static final String DOCUMENT_DOC_URL = CloudCenter.getInstance().acquireUrlByKind("af.doc_view"); |
||||||
|
|
||||||
|
public static final String DOCUMENT_SEARCH_URL = CloudCenter.getInstance().acquireUrlByKind("af.doc_search"); |
||||||
|
|
||||||
|
public static final String DOCUMENT_INFORMATION_URL = CloudCenter.getInstance().acquireUrlByKind("af.doc_info"); |
||||||
|
|
||||||
|
public static final String PLUGIN_IMAGE_URL = CloudCenter.getInstance().acquireUrlByKind("af.plugin_image"); |
||||||
|
|
||||||
|
public static final String CLOUD_SERVER_URL = CloudCenter.getInstance().acquireUrlByKind("af.record"); |
||||||
|
|
||||||
|
public static final String SEARCH_API = CloudCenter.getInstance().acquireUrlByKind("af.cloud_search"); |
||||||
|
|
||||||
|
public static final String SIMILAR_SEARCH_URL_PREFIX = CloudCenter.getInstance().acquireUrlByKind("af.similar_search"); |
||||||
|
|
||||||
|
public static final String COMPLEMENT_ADVICE_SEARCH_URL_PREFIX = CloudCenter.getInstance().acquireUrlByKind("af.advice_search"); |
||||||
|
|
||||||
|
public static final String ALPHA_HOT_SEARCH = CloudCenter.getInstance().acquireUrlByKind("af.hot_search"); |
||||||
|
|
||||||
|
public static final String ALPHA_GO_TO_FORUM = CloudCenter.getInstance().acquireUrlByKind("af.go_fourm"); |
||||||
|
|
||||||
|
public static final String ALPHA_GO_TO_WEB = CloudCenter.getInstance().acquireUrlByKind("af.go_web"); |
||||||
|
|
||||||
|
public static final String ALPHA_PREVIEW = CloudCenter.getInstance().acquireUrlByKind("af.preview"); |
||||||
|
|
||||||
|
public static final String ALPHA_CID = CloudCenter.getInstance().acquireUrlByKind("af.cid.new"); |
||||||
|
|
||||||
|
public static final String ALPHA_CID_USER_GROUP_INFO = CloudCenter.getInstance().acquireUrlByKind("af.cid.user.group.info"); |
||||||
|
|
||||||
|
private static final String QUICK_START_URL = CloudCenter.getInstance().acquireUrlByKind("af.help.quick.start"); |
||||||
|
|
||||||
|
private static final String REPORT_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.report.learning.path"); |
||||||
|
|
||||||
|
private static final String PARAMETER_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.param.learning.path"); |
||||||
|
|
||||||
|
private static final String FILL_LEARNING_PATH = CloudCenter.getInstance().acquireUrlByKind("af.help.fill.learning.path"); |
||||||
|
|
||||||
|
private static final String API_SUMMARY = CloudCenter.getInstance().acquireUrlByKind("af.help.api.summary"); |
||||||
|
|
||||||
|
private static final String MONTHLY_DOCUMENT = CloudCenter.getInstance().acquireUrlByKind("af.help.monthly.document"); |
||||||
|
|
||||||
|
private static final 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 + "\" } ]"; |
||||||
|
|
||||||
|
public static final String ALPHA_HELP_RECOMMEND = CloudCenter.getInstance().acquireUrlByKind("af.recommend", DEFAULT_RECOMMEND); |
||||||
|
} |
Loading…
Reference in new issue