hjl
2024-07-05 428519bd1056dd90cd4589dbf85b380e403ff254
ruoyi-service/ruoyi-user/src/main/java/com/ruoyi/user/controller/WithdrawController.java
@@ -29,7 +29,7 @@
 */
@RestController
@RequestMapping("/withdraw")
@Api(tags = {"用户端-提现"})
@Api(tags = {"用户端-个人中心-提现"})
public class WithdrawController {
    @Resource
@@ -38,7 +38,7 @@
    private TokenService tokenService;
    @GetMapping("/withdrawList")
    @ApiOperation(value = "提现列表", tags = {"用户端-个人中心"})
    @ApiOperation(value = "提现列表", tags = {"用户端-个人中心-提现"})
    public R<WithdrawListVO> withdrawList() {
        LoginUserInfo loginUser = tokenService.getLoginUserByUser();
        if (null == loginUser) {
@@ -47,8 +47,18 @@
        return R.ok(withdrawService.withdrawList(loginUser.getUserid()));
    }
    @GetMapping("/withdrawDetail")
    @ApiOperation(value = "提现详情", tags = {"用户端-个人中心-提现"})
    public R<WithdrawListVO> withdrawDetail() {
        LoginUserInfo loginUser = tokenService.getLoginUserByUser();
        if (null == loginUser) {
            return R.loginExpire("登录失效!");
        }
        return R.ok(withdrawService.withdrawList(loginUser.getUserid()));
    }
    @GetMapping("/confirmWithdraw")
    @ApiOperation(value = "确认提现", tags = {"用户端-个人中心"})
    @ApiOperation(value = "确认提现", tags = {"用户端-个人中心-提现"})
    @ApiImplicitParams({
            @ApiImplicitParam(value = "订单id", name = "orderId", dataType = "Integer", required = true)
    })
@@ -61,7 +71,7 @@
    }
    @GetMapping("/withdrawRecord")
    @ApiOperation(value = "提现记录", tags = {"用户端-个人中心"})
    @ApiOperation(value = "提现记录", tags = {"用户端-个人中心-提现"})
    public R<List<Withdraw>> withdrawRecord() {
        LoginUserInfo loginUser = tokenService.getLoginUserByUser();
        if (null == loginUser) {