瀏覽代碼

提现优化

lishanshan 3 月之前
父節點
當前提交
6b572ca69c
共有 1 個文件被更改,包括 0 次插入17 次删除
  1. 0 17
      src/pages-B/payment/withdrawal.vue

+ 0 - 17
src/pages-B/payment/withdrawal.vue

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