| | |
| | | */ |
| | | @PostMapping("/getAppUserPage") |
| | | @ApiOperation(value = "appUser分页") |
| | | @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | public R<IPage<AppUserPageVO>> getAppUserPage(@RequestBody AppUserPageDTO getAppUserPage) { |
| | | return R.ok(appUserService.getAppUserPage(getAppUserPage)); |
| | | } |
| | |
| | | */ |
| | | @GetMapping("/detail/{id}") |
| | | @ApiOperation(value = "查看详情") |
| | | @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | public R<AppUserVO> detail(@PathVariable("id") String id){ |
| | | return R.ok(appUserService.detail(id)); |
| | | } |
| | |
| | | */ |
| | | @PutMapping("/frozen/{id}") |
| | | @ApiOperation(value = "冻结/解冻") |
| | | @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | public R<Void> frozen(@PathVariable("id") String id){ |
| | | appUserService.frozen(id); |
| | | return R.ok(); |
| | |
| | | */ |
| | | @PutMapping("/balance") |
| | | @ApiOperation(value = "修改余额") |
| | | @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | // @PreAuthorize("@ss.hasPermi('appuser:manage')") |
| | | public R<Void> balance(@RequestBody UpdateBalanceDTO dto){ |
| | | appUserService.balance(dto); |
| | | return R.ok(); |