|
|
|
@ -0,0 +1,27 @@ |
|
|
|
package com.qniao.dam.api.command.withdrawaudit.user; |
|
|
|
|
|
|
|
import com.qniao.dam.api.command.withdrawaudit.user.request.UserApplyWalletAccountWithdrawDto; |
|
|
|
import com.qniao.dam.application.service.walletaccount.WalletAccountApplicationService; |
|
|
|
import io.swagger.annotations.Api; |
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
import javax.annotation.Resource; |
|
|
|
import javax.validation.Valid; |
|
|
|
|
|
|
|
@RestController |
|
|
|
@RequestMapping("user") |
|
|
|
@Api(tags = "提现审核") |
|
|
|
public class WithdrawAuditUserCommandController { |
|
|
|
|
|
|
|
@Resource |
|
|
|
private WalletAccountApplicationService walletAccountApplicationService; |
|
|
|
|
|
|
|
@ApiOperation("用户发起提现申请") |
|
|
|
@PostMapping("apply/wallet-account/withdraw") |
|
|
|
public void userApplyWalletAccountWithdraw(@RequestBody @Valid UserApplyWalletAccountWithdrawDto dto, |
|
|
|
@RequestParam("userId") Long userId) { |
|
|
|
//return walletAccountApplicationService.applyWithdraw(dto); |
|
|
|
} |
|
|
|
|
|
|
|
} |