From 935996f70bfef311abe3f86f461fec066c19c208 Mon Sep 17 00:00:00 2001
From: agan <agan@yazhai.co>
Date: Thu, 9 May 2024 16:26:38 +0800
Subject: [PATCH] xg

---
 footseen/img/pay/ILIVEPAY.png   | Bin 0 -> 6284 bytes
 footseen/js/phonepay.js         | 16 ++++++++++------
 footseen/phonepay/applepay.html |  8 ++++++--
 3 files changed, 16 insertions(+), 8 deletions(-)
 create mode 100644 footseen/img/pay/ILIVEPAY.png

diff --git a/footseen/img/pay/ILIVEPAY.png b/footseen/img/pay/ILIVEPAY.png
new file mode 100644
index 0000000..cb51b94
Binary files /dev/null and b/footseen/img/pay/ILIVEPAY.png differ
diff --git a/footseen/js/phonepay.js b/footseen/js/phonepay.js
index 9523e86..f4eb8f1 100644
--- a/footseen/js/phonepay.js
+++ b/footseen/js/phonepay.js
@@ -84,14 +84,18 @@ var payList = {
 	'94': {
 		'name': 'payermax',
 		'img': langList[langType].visapay,
+	},
+	'95': {
+		'name': 'ilivepay',
+		'img': '../img/pay/ILIVEPAY.png',
 	}
 }
 
 var payOrder = {
-	'TW': [94, 90, 64, 65, 66, 50, 51, 52, 53, 20, 30, 40, 60, 63, 70, 91, 93, 92, 10], //台湾
-	'MY': [20, 30, 40, 94, 90, 50, 51, 52, 53, 60, 63, 64, 65, 66, 70, 91, 93, 92, 10], //马来西亚
-	'ID': [91, 93, 92, 60, 63, 94, 90, 50, 51, 52, 53, 20, 30, 40, 64, 65, 66, 70, 10], //印度尼西亚
-	'WPAY': [94, 90, 70, 20, 30, 40, 50, 51, 52, 53, 60, 63, 64, 65, 66, 91, 93, 92, 10],//阿拉伯支付
-	'IN': [94, 90, 20, 30, 40, 50, 51, 52, 53, 70, 60, 63, 64, 65, 66, 91, 93, 92, 10],//印度
-	'OTHER': [94, 90, 20, 30, 64, 65, 66, 40, 50, 51, 52, 53, 70, 60, 63, 91, 93, 92, 10], //其他语区
+	'TW': [94, 90, 64, 65, 66, 50, 51, 52, 53, 20, 95, 30, 40, 60, 63, 70, 91, 93, 92, 10], //台湾
+	'MY': [20, 95, 30, 40, 94, 90, 50, 51, 52, 53, 60, 63, 64, 65, 66, 70, 91, 93, 92, 10], //马来西亚
+	'ID': [91, 93, 92, 60, 63, 94, 90, 50, 51, 52, 53, 20, 95, 30, 40, 64, 65, 66, 70, 10], //印度尼西亚
+	'WPAY': [94, 90, 70, 20, 95, 30, 40, 50, 51, 52, 53, 60, 63, 64, 65, 66, 91, 93, 92, 10],//阿拉伯支付
+	'IN': [94, 90, 20, 95, 30, 40, 50, 51, 52, 53, 70, 60, 63, 64, 65, 66, 91, 93, 92, 10],//印度
+	'OTHER': [94, 90, 20, 95, 30, 64, 65, 66, 40, 50, 51, 52, 53, 70, 60, 63, 91, 93, 92, 10], //其他语区
 }
\ No newline at end of file
diff --git a/footseen/phonepay/applepay.html b/footseen/phonepay/applepay.html
index b3b867a..fffccc1 100644
--- a/footseen/phonepay/applepay.html
+++ b/footseen/phonepay/applepay.html
@@ -684,7 +684,6 @@
 		})
 
 		$('.newgopay').on('click', function () {
-			
 			sessionStorage.pay = 'GO_PAY';
 			sessionStorage.payType = '227';
 			if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/newgopay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
@@ -692,12 +691,17 @@
 		})
 
 		$('.ovopay').on('click', function () {
-			
 			sessionStorage.pay = 'OVO_PAY';
 			sessionStorage.payType = '230';
 			if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/ovopay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
 			else window.location.href = 'login.html';
 		})
+
+		$('.ilivepay').on('click', function () {
+			sessionStorage.pay = 'ILIVEPAY';
+			if (sessionStorage.uid != undefined) window.location.href = 'http://web.yazhaiyabo.com/footseen/wechatpay/payfor-new.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&payStatus=' + sessionStorage.payStatus + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + mOsStr + '&os=' + data.os;
+			else window.location.href = 'login.html';
+		})
 	}
 
 	function getLangRegion(code) {
--
libgit2 0.25.0