feat(钱包操作页面): 提现接口调整
This commit is contained in:
parent
1ec4ae8ac8
commit
07c3af08f2
@ -1114,9 +1114,17 @@ const checkStatus = computed(() => {
|
||||
const Receive = async () => {
|
||||
if (checkStatus.value) {
|
||||
try {
|
||||
let salaryType =
|
||||
identityStore.identity == 'ADMIN'
|
||||
? 'ADMIN_SALARY'
|
||||
: ['BD_LEADER', 'BD'].includes(identityStore.identity)
|
||||
? 'BD_SALARY'
|
||||
: ''
|
||||
|
||||
const resApply = await withdrawApply({
|
||||
amount: cashOutAmount.value,
|
||||
acceptBankCardId: usedBankCard.value.id,
|
||||
salaryType,
|
||||
})
|
||||
if (resApply.status) {
|
||||
closedPopup()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user