huliguo
2025-07-20 f0e40a7b64d1285cc9c1f2dff532a22964664de1
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/FinanceController.java
@@ -35,9 +35,9 @@
     */
    @PostMapping("/top")
    @ApiOperation(value = "财务流水-顶部")
    @PreAuthorize("@ss.hasPermi('finance:flows')")
    public R<FinanceFlowsTopVO> top(){
        return R.ok(orderService.financeTop());
//    @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();