【8.0】【权限】更新定时任务界面的权限控制标识

pull/57/head
fengshuonan 2023-07-09 23:16:54 +08:00
parent f48fb39dd2
commit 3d22235521
1 changed files with 6 additions and 2 deletions

View File

@ -26,7 +26,6 @@ package cn.stylefeng.roses.kernel.timer.modular.controller;
import cn.stylefeng.roses.kernel.db.api.pojo.page.PageResult;
import cn.stylefeng.roses.kernel.rule.annotation.BusinessLog;
import cn.stylefeng.roses.kernel.rule.enums.ResBizTypeEnum;
import cn.stylefeng.roses.kernel.rule.pojo.response.ResponseData;
import cn.stylefeng.roses.kernel.rule.pojo.response.SuccessResponseData;
import cn.stylefeng.roses.kernel.scanner.api.annotation.ApiResource;
@ -50,9 +49,14 @@ import java.util.List;
* @since 2020/10/27 14:30
*/
@RestController
@ApiResource(name = "定时任务管理", resBizType = ResBizTypeEnum.SYSTEM)
@ApiResource(name = "定时任务管理", requiredPermission = true, requirePermissionCode = SysTimersController.TIMER)
public class SysTimersController {
/**
*
*/
public static final String TIMER = "TIMER";
@Resource
private SysTimersService sysTimersService;