权限问题修改

This commit is contained in:
梁琦涛
2021-10-13 17:43:52 +08:00
parent 0fd014cbdf
commit 5599a05cf8
3 changed files with 10 additions and 4 deletions
@@ -14,6 +14,7 @@ import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.quartz.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
@@ -49,9 +50,10 @@ public class SystemRemindersController {
*
* @return
*/
@AutoLog(value = "系统催款-编辑")
@ApiOperation(value="系统催款-编辑", notes="首页-编辑")
@AutoLog(value = "系统催款-保存",operateType = 2)
@ApiOperation(value="系统催款-保存", notes="首页-编辑")
@PostMapping(value = "/edit")
@RequiresPermissions("system:dept:save")
public Result<?> edit(@RequestBody SystemRemindersVO systemRemindersVO) {
// 每年
String year = "0 0 0 ${day} ${month} ? *";