|
|
@ -46,9 +46,10 @@ public class WithdrawAuditUserCommandController { |
|
|
@PostMapping("apply/wallet-account/withdraw") |
|
|
@PostMapping("apply/wallet-account/withdraw") |
|
|
public void userApplyWalletAccountWithdraw(@RequestBody @Valid UserApplyWalletAccountWithdrawDto dto, |
|
|
public void userApplyWalletAccountWithdraw(@RequestBody @Valid UserApplyWalletAccountWithdrawDto dto, |
|
|
@RequestParam("userId") Long userId, |
|
|
@RequestParam("userId") Long userId, |
|
|
@RequestHeader(name = RequestHeaderFields.FIELD_ORGANIZATION_ID, required = false) Long orgId) { |
|
|
|
|
|
Long appId = Long.valueOf(ServletUtils.getAppId()); |
|
|
|
|
|
|
|
|
@RequestHeader(name = RequestHeaderFields.FIELD_ORGANIZATION_ID, required = false) Long orgId, |
|
|
|
|
|
@RequestHeader(name = RequestHeaderFields.FIELD_APP_ID) Long appId) { |
|
|
WithdrawAudit withdrawAudit = dto.trans2Domain(); |
|
|
WithdrawAudit withdrawAudit = dto.trans2Domain(); |
|
|
|
|
|
withdrawAudit.setAppId(appId); |
|
|
if (Objects.nonNull(orgId)) { |
|
|
if (Objects.nonNull(orgId)) { |
|
|
withdrawAudit.setIdentityType(IdentityTypeEnum.ORGANIZATION); |
|
|
withdrawAudit.setIdentityType(IdentityTypeEnum.ORGANIZATION); |
|
|
withdrawAudit.setWalletAccountOrgId(orgId); |
|
|
withdrawAudit.setWalletAccountOrgId(orgId); |
|
|
|