feat(钱包操作页面): 提现接口调整

This commit is contained in:
hzj 2025-12-16 12:25:40 +08:00
parent 1ec4ae8ac8
commit 07c3af08f2

View File

@ -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()