| | |
| | | */ |
| | | @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)); |
| | | } |
| | | |
| | | /** |
| | |
| | | |
| | | @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)); |
| | | } |
| | |
| | | */ |
| | | @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)); |
| | | } |
| | |
| | | |
| | | @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(); |
| | |
| | | */ |
| | | @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(); |