Browse Source

修改首页获取待办商品权限

Yangzw 5 months ago
parent
commit
9beff71858

+ 1 - 1
feifan-module-mall/feifan-module-product-biz/src/main/java/cn/newfeifan/mall/module/product/controller/admin/spuapply/SpuApplyController.java

@@ -78,7 +78,7 @@ public class SpuApplyController {
     }
     @GetMapping("/getSpuTotal")
     @Operation(summary = "获得商品spu申请数量")
-    @PreAuthorize("@ss.hasPermission('product:spu:query')")
+    @PreAuthorize("@ss.hasPermission('product:spuApply:query')")
     public CommonResult<Long> getSpuApplyTotal() {
         return success(spuApplyService.getSpuApplyTotal());
     }