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