fix(测试跟踪): 下载插件提示优化
--bug=1020244 --user=陈建星 【项目设置】删除jira插件-缺陷管理-旧数据看不了了 https://www.tapd.cn/55049933/s/1304584
This commit is contained in:
parent
d245ab9964
commit
b595d8e330
|
@ -35,7 +35,7 @@ public class PlatformPluginService {
|
|||
@Resource
|
||||
private BaseIntegrationService baseIntegrationService;
|
||||
|
||||
private static final String PLUGIN_DOWNLOAD_URL = "https://github.com/metersphere/metersphere-platform-plugin";
|
||||
public static final String PLUGIN_DOWNLOAD_URL = "https://github.com/metersphere/metersphere-platform-plugin";
|
||||
|
||||
private PlatformPluginManager pluginManager;
|
||||
|
||||
|
@ -75,6 +75,9 @@ public class PlatformPluginService {
|
|||
return false;
|
||||
}
|
||||
PluginMetaInfo pluginMetaInfo = pluginManager.getPluginMetaInfoByKey(platform);
|
||||
if (PlatformPluginService.isPluginPlatform(platform) && pluginMetaInfo == null) {
|
||||
MSException.throwException(Translator.get("platform_plugin_not_exit") + PlatformPluginService.PLUGIN_DOWNLOAD_URL);
|
||||
}
|
||||
return pluginMetaInfo == null ? false : pluginMetaInfo.isThirdPartTemplateSupport();
|
||||
}
|
||||
|
||||
|
|
|
@ -215,7 +215,7 @@ export function getPlatformTransitions(param) {
|
|||
}
|
||||
|
||||
export function enableThirdPartTemplate(projectId) {
|
||||
return get(BASE_URL + '/third/part/template/enable/' + projectId);
|
||||
return get(BASE_URL + 'third/part/template/enable/' + projectId);
|
||||
}
|
||||
|
||||
export function buildIssues(page) {
|
||||
|
|
Loading…
Reference in New Issue