update @修改支付宝小程序url

This commit is contained in:
huangzhen 2024-11-11 17:24:51 +08:00
parent e5b814d951
commit 8b1d120d54
2 changed files with 1567 additions and 2023 deletions

3588
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -37,7 +37,7 @@ export async function channelJudge (channel: number, mode: number, judgeData?: a
if (channel === 1 && mode === 1) { // 支付宝-官方领取 区分商品类型1 红包 支付宝小程序3 立减金 支付宝授权 if (channel === 1 && mode === 1) { // 支付宝-官方领取 区分商品类型1 红包 支付宝小程序3 立减金 支付宝授权
const ua = navigator.userAgent.toLowerCase(); const ua = navigator.userAgent.toLowerCase();
if (type === 1) { if (type === 1) {
const aliPaysUrl = `${zfbAuthMiniUrl}&page=pages/exchange/exchange?key=${encodeURIComponent(window.btoa(localStorage.getItem('key') || ''))}&ids=${encodeURIComponent(window.btoa(JSON.stringify(idNew)))}`; const aliPaysUrl = `${zfbAuthMiniUrl}&page=pages/exchange/exchange?${encodeURIComponent(`key=${window.btoa(localStorage.getItem('key') || '')}&ids=${window.btoa(JSON.stringify(idNew))}`)}`;
if (isWx|| (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("windows") > -1) { if (isWx|| (ua.indexOf("android") > -1 && ua.indexOf("baiduboxapp") > -1) || ua.indexOf("windows") > -1) {
showConfirmDialog({ showConfirmDialog({
confirmButtonText: '复制', confirmButtonText: '复制',