Browse Source

首页去除没有权限的

hexiao 2 years ago
parent
commit
bf45eb454d

+ 2 - 2
purchase-admin/src/main/java/com/ozs/web/controller/plan/PlanYearsController.java

@@ -201,7 +201,7 @@ public class PlanYearsController extends BaseController {
     @ApiOperation(value = "审核年度计划通过")
     @PostMapping("/reviewTo")
     @Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
-    @PreAuthorize("@ss.hasPermi('plan:planYears:reviewTo')")
+//    @PreAuthorize("@ss.hasPermi('plan:planYears:reviewTo')")  首页调用注释
     public AjaxResult reviewTo(@RequestBody PlanYearsStandardVo yearsStandardVo, HttpServletRequest request) {
         LoginUser loginUser = tokenService.getLoginUser(request);
         yearsStandardVo.setUpdated(String.valueOf(loginUser.getUserId()));
@@ -228,7 +228,7 @@ public class PlanYearsController extends BaseController {
 
     @ApiOperation(value = "发函催告")
     @PostMapping("/sendLetter")
-    @PreAuthorize("@ss.hasPermi('plan:planYears:sendLetter')")
+//    @PreAuthorize("@ss.hasPermi('plan:planYears:sendLetter')")   首页调用注释
     @Log(title = ModularConstans.planYear, businessType = BusinessType.UPDATE)
     public AjaxResult sendLetter(@RequestBody PlanYearsStandardVo yearsStandardVo) {
         return planYearsService.sendLetter(yearsStandardVo);