style(系统设置): 插件文案修改

This commit is contained in:
Jianguo-Genius 2024-04-10 20:05:52 +08:00 committed by Craftsman
parent e1eff5a611
commit b41ef8a22f
3 changed files with 5 additions and 4 deletions

View File

@ -28,10 +28,11 @@ public class ApiScenarioNoticeService {
@Resource @Resource
private ScheduleMapper scheduleMapper; private ScheduleMapper scheduleMapper;
public List<Schedule> getScheduleNotice(ApiScenarioScheduleConfigRequest request) { public Schedule getScheduleNotice(ApiScenarioScheduleConfigRequest request) {
ScheduleExample example = new ScheduleExample(); ScheduleExample example = new ScheduleExample();
example.createCriteria().andResourceIdEqualTo(request.getScenarioId()).andJobEqualTo(ApiScenarioScheduleJob.class.getName()); example.createCriteria().andResourceIdEqualTo(request.getScenarioId()).andJobEqualTo(ApiScenarioScheduleJob.class.getName());
return scheduleMapper.selectByExample(example); List<Schedule> schedules = scheduleMapper.selectByExample(example);
return CollectionUtils.isEmpty(schedules) ? null : schedules.get(0);
} }
public List<ApiScenario> getBatchOptionScenarios(ApiScenarioBatchRequest request) { public List<ApiScenario> getBatchOptionScenarios(ApiScenarioBatchRequest request) {

View File

@ -41,7 +41,7 @@ export default {
'system.plugin.disablePluginContent': 'system.plugin.disablePluginContent':
'The project can not integrate with the platform and the default template of the platform is not available, be careful!', 'The project can not integrate with the platform and the default template of the platform is not available, be careful!',
'system.plugin.alertDescribe': 'system.plugin.alertDescribe':
'The MeterSphere v3.0 LTS release supports plug-ins of DevOps、 API imports、 requests、 project management、 protocols、 and other types', 'The MeterSphere v3.0 release supports plug-ins of DevOps、 API imports、 requests、 project management、 protocols、 and other types',
'system.plugin.viewTable': 'View the form', 'system.plugin.viewTable': 'View the form',
'system.plugin.downAddress': 'More open source plug-ins can be downloaded here', 'system.plugin.downAddress': 'More open source plug-ins can be downloaded here',
'system.plugin.goDownload': 'downloads', 'system.plugin.goDownload': 'downloads',

View File

@ -63,7 +63,7 @@ export default {
'system.plugin.enablePluginSuccess': '启用成功', 'system.plugin.enablePluginSuccess': '启用成功',
'system.plugin.disablePluginContent': '项目无法与该平台集成且该平台默认模板不可用,谨慎操作!', 'system.plugin.disablePluginContent': '项目无法与该平台集成且该平台默认模板不可用,谨慎操作!',
'system.plugin.alertDescribe': 'system.plugin.alertDescribe':
'MeterSphere v3.0 LTS 版本支持 DevOps、API 导入、请求、项目管理、协议 类型的插件,具体支持插件请', 'MeterSphere v3.0 版本支持 DevOps、API 导入、请求、项目管理、协议 类型的插件,具体支持插件请',
'system.plugin.viewTable': '查看表格', 'system.plugin.viewTable': '查看表格',
'system.plugin.downAddress': '更多开源插件,请在此下载', 'system.plugin.downAddress': '更多开源插件,请在此下载',
'system.plugin.goDownload': '去下载', 'system.plugin.goDownload': '去下载',