|
@@ -456,4 +456,13 @@ public class CommonController extends BaseController {
|
|
|
String prompt = iSysTenantService.getSysStudyPrompt();
|
|
String prompt = iSysTenantService.getSysStudyPrompt();
|
|
|
return AjaxResult.success("成功",prompt);
|
|
return AjaxResult.success("成功",prompt);
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 获取系统公告
|
|
|
|
|
+ */
|
|
|
|
|
+ @ApiOperation("获取系统配置")
|
|
|
|
|
+ @GetMapping("/announcement")
|
|
|
|
|
+ public AjaxResult<String> getSysAnnouncement() {
|
|
|
|
|
+ return AjaxResult.success("成功",configService.selectConfigByKey("sys.api.notice"));
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|