mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-04-10 02:07:33 +00:00
获取公告和版权信息权限例外
This commit is contained in:
@@ -63,6 +63,24 @@ public class ChatConfigController extends BaseController {
|
|||||||
return R.ok(configService.getConfigValue("sys",configKey));
|
return R.ok(configService.getConfigValue("sys",configKey));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询版权信息
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "/configKey/copyright")
|
||||||
|
public R<String> getConfigKeyCopyright() {
|
||||||
|
return R.ok(configService.getConfigValue("sys","copyright"));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询logoImage
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
@GetMapping(value = "/configKey/logoImage")
|
||||||
|
public R<String> getConfigKeyLogoImage() {
|
||||||
|
return R.ok(configService.getConfigValue("sys","logoImage"));
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询系统参数
|
* 查询系统参数
|
||||||
*
|
*
|
||||||
|
|||||||
@@ -31,7 +31,6 @@ public class SysNoticeController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 获取公告列表
|
* 获取公告列表
|
||||||
*/
|
*/
|
||||||
@SaCheckPermission("system:notice:list")
|
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo<SysNoticeVo> list(SysNoticeBo notice, PageQuery pageQuery) {
|
public TableDataInfo<SysNoticeVo> list(SysNoticeBo notice, PageQuery pageQuery) {
|
||||||
//公告类型(1通知 2公告)
|
//公告类型(1通知 2公告)
|
||||||
|
|||||||
Reference in New Issue
Block a user