From e0916aa2e78266fb12da41d75bf7aab701bbf3d0 Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期三, 23 七月 2025 14:56:07 +0800 Subject: [PATCH] 修改bug --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java index d9fb40c..6630ed3 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java @@ -35,7 +35,7 @@ */ @PostMapping("/top") @ApiOperation(value = "财务流水-顶部") - @PreAuthorize("@ss.hasPermi('finance:flows')") +// @PreAuthorize("@ss.hasPermi('finance:flows')") public R<FinanceFlowsTopVO> top(@RequestBody FinanceFlowsDTO dto){ return R.ok(orderService.financeTop(dto)); } @@ -46,7 +46,7 @@ @PostMapping("/flows/page") @ApiOperation(value = "财务流水-分页") - @PreAuthorize("@ss.hasPermi('finance:flows')") +// @PreAuthorize("@ss.hasPermi('finance:flows')") public R<IPage<FinanceFlowsPageVO>> flowsPage(@RequestBody FinanceFlowsDTO dto){ return R.ok(orderService.flowsPage(dto)); } @@ -56,7 +56,7 @@ */ @PostMapping("/withdraw/page") @ApiOperation(value = "提现申请-分页") - @PreAuthorize("@ss.hasPermi('finance:apply')") +// @PreAuthorize("@ss.hasPermi('finance:apply')") public R<IPage<WithdrawPageVO>> withdrawPage(@RequestBody WithdrawPageDTO dto){ return R.ok(withdrawService.withdrawPage(dto)); } @@ -67,7 +67,7 @@ @PutMapping("/withdraw/agree") @ApiOperation(value = "提现申请-同意") - @PreAuthorize("@ss.hasPermi('finance:flows')") +// @PreAuthorize("@ss.hasPermi('finance:flows')") public R<Void> agree(@RequestBody WithDrawAgreeDTO dto){ withdrawService.agree(dto); return R.ok(); @@ -79,7 +79,7 @@ */ @PutMapping("/withdraw/refuse") @ApiOperation(value = "提现申请-拒绝") - @PreAuthorize("@ss.hasPermi('finance:flows')") +// @PreAuthorize("@ss.hasPermi('finance:flows')") public R<Void> refuse(@RequestBody WithDrawRefuseDTO dto){ withdrawService.refuse(dto); return R.ok(); -- Gitblit v1.7.1