获取公告和版权信息权限例外

This commit is contained in:
winkey
2025-04-02 15:09:53 +08:00
parent 72675b17c4
commit feca08b3ec
2 changed files with 18 additions and 1 deletions

View File

@@ -63,6 +63,24 @@ public class ChatConfigController extends BaseController {
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"));
}
/**
* 查询系统参数
*

View File

@@ -31,7 +31,6 @@ public class SysNoticeController extends BaseController {
/**
* 获取公告列表
*/
@SaCheckPermission("system:notice:list")
@GetMapping("/list")
public TableDataInfo<SysNoticeVo> list(SysNoticeBo notice, PageQuery pageQuery) {
//公告类型1通知 2公告