|
|
@@ -110,7 +110,6 @@ async function applyWithdrawal() {
|
|
|
const params: netWithdrawResponse = {
|
|
|
applyAmount: withdrawalAmount.value,
|
|
|
bankCardId: bankCard.value.id,
|
|
|
- // callBackUrl: `${domain.value}/pages-B/payment/withdrawal?m=${availableBalance.value}`
|
|
|
}
|
|
|
console.log('提交提现申请:', params)
|
|
|
|
|
|
@@ -128,27 +127,11 @@ async function applyWithdrawal() {
|
|
|
} else {
|
|
|
uni.$u.toast(res.data.message);
|
|
|
}
|
|
|
- // else if (res.data.code === 99 && res.data.message) {
|
|
|
- // // 白名单接口请求失败-跳转三方链接
|
|
|
- // toThirdPartyLink(res.data.message);
|
|
|
- // }
|
|
|
}).finally(() => {
|
|
|
uni.hideLoading();
|
|
|
});
|
|
|
}
|
|
|
|
|
|
-// 跳转三方链接
|
|
|
-function toThirdPartyLink(url: string) {
|
|
|
- // #ifdef H5
|
|
|
- window.location.href = url
|
|
|
- // #endif
|
|
|
- // #ifndef H5
|
|
|
- uni.navigateTo({
|
|
|
- url: `/pages-B/payment/web-view?webUrl=${encodeURIComponent(url)}`,
|
|
|
- })
|
|
|
- // #endif
|
|
|
-}
|
|
|
-
|
|
|
// 取主域名
|
|
|
function extractDomain(url: string): string {
|
|
|
const regex = /^(https?:\/\/[^\/]+)/
|