From bd2fb7d1874c3a98e19e89e9fd9cde51026f8d49 Mon Sep 17 00:00:00 2001
From: agan <agan@yazhai.co>
Date: Tue, 12 Sep 2023 12:12:07 +0800
Subject: [PATCH] xg

---
 footseen/js/phonepay.js         | 16 ++++++++++------
 footseen/phonepay/applepay.html |  8 +++++++-
 footseen/phonepay/login.html    |  2 ++
 3 files changed, 19 insertions(+), 7 deletions(-)

diff --git a/footseen/js/phonepay.js b/footseen/js/phonepay.js
index 8a652f7..62c2747 100644
--- a/footseen/js/phonepay.js
+++ b/footseen/js/phonepay.js
@@ -81,13 +81,17 @@ var payList = {
 		'name': 'ovopay',
 		'img': langList[langType].ovopay,
 	},
+	'94': {
+		'name': 'payermax',
+		'img': langList[langType].visapay,
+	}
 }
 
 var payOrder = {
-	'TW': [90, 10, 64, 65, 66, 50, 51, 52, 53, 20, 30, 40, 60, 63, 70, 91, 93, 92], //台湾
-	'MY': [20, 30, 40, 90, 10, 50, 51, 52, 53, 60, 63, 64, 65, 66, 70, 91, 93, 92], //马来西亚
-	'ID': [91, 93, 92, 60, 63, 90, 10, 50, 51, 52, 53, 20, 30, 40, 64, 65, 66, 70], //印度尼西亚
-	'WPAY': [90, 10, 70, 20, 30, 40, 50, 51, 52, 53, 60, 63, 64, 65, 66, 91, 93, 92],//阿拉伯支付
-	'IN': [90, 10, 20, 30, 40, 50, 51, 52, 53, 70, 60, 63, 64, 65, 66, 91, 93, 92],//印度
-	'OTHER': [90, 10, 20, 30, 64, 65, 66, 40, 50, 51, 52, 53, 70, 60, 63, 91, 93, 92], //其他语区
+	'TW': [94, 90, 10, 64, 65, 66, 50, 51, 52, 53, 20, 30, 40, 60, 63, 70, 91, 93, 92], //台湾
+	'MY': [20, 30, 40, 94, 90, 10, 50, 51, 52, 53, 60, 63, 64, 65, 66, 70, 91, 93, 92], //马来西亚
+	'ID': [91, 93, 92, 60, 63, 94, 90, 10, 50, 51, 52, 53, 20, 30, 40, 64, 65, 66, 70], //印度尼西亚
+	'WPAY': [94, 90, 10, 70, 20, 30, 40, 50, 51, 52, 53, 60, 63, 64, 65, 66, 91, 93, 92],//阿拉伯支付
+	'IN': [94, 90, 10, 20, 30, 40, 50, 51, 52, 53, 70, 60, 63, 64, 65, 66, 91, 93, 92],//印度
+	'OTHER': [94, 90, 10, 20, 30, 64, 65, 66, 40, 50, 51, 52, 53, 70, 60, 63, 91, 93, 92], //其他语区
 }
\ No newline at end of file
diff --git a/footseen/phonepay/applepay.html b/footseen/phonepay/applepay.html
index fe826c0..dba2d38 100644
--- a/footseen/phonepay/applepay.html
+++ b/footseen/phonepay/applepay.html
@@ -332,7 +332,7 @@
 <script src="../js/iosSelect.js"></script>
 <script src="../lib/payLangchange.js?v=202305041626"></script>
 <script type="text/javascript" src="https://app.ixiulive.com/static/layer-v3.1.0/layer/layer.js"></script>
-<script src="../js/phonepay.js?v=2092304281707"></script>
+<script src="../js/phonepay.js?v=202309121208"></script>
 <script>
 	$('title').text(langList[langType].paytitle);
 	$('.bigRecord').text(langList[langType].payrecord);
@@ -664,6 +664,12 @@
 			else window.location.href = 'login.html' + window.location.search;
 		})
 
+		$('.payermax').on('click', function () {
+			sessionStorage.pay = "PAYERMAX_PAY";
+			if (sessionStorage.uid != undefined) window.location.href = 'https://firefly.live/footseen/phonepay/payermax.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' + window.location.search;
+		})
+
 		$('.danapay').on('click', function () {
 			
 			sessionStorage.pay = 'DANA_PAY';
diff --git a/footseen/phonepay/login.html b/footseen/phonepay/login.html
index c3319d6..d6f14dc 100644
--- a/footseen/phonepay/login.html
+++ b/footseen/phonepay/login.html
@@ -109,6 +109,8 @@
 				window.location.href = 'https://www.firefly.live/footseen/phonepay/paymentAlipay.html?uid=' + sessionStorage.uid + '&lang=' + sessionStorage.lang + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
 			} else if (sessionStorage.pay == 'GLOCASH_PAY') {
 				window.location.href = window.location.href = 'https://firefly.live/footseen/phonepay/newvisapay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
+			} else if (sessionStorage.pay == 'PAYERMAX_PAY') {
+				window.location.href = window.location.href = 'https://firefly.live/footseen/phonepay/payermax.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
 			} else if (sessionStorage.pay == 'DANA_PAY') {
 				window.location.href = 'https://firefly.live/footseen/phonepay/danapay.html?uid=' + sessionStorage.uid + '&token=' + sessionStorage.token + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&cidStr=' + sessionStorage.cidStr + '&osStr=' + getNavigatorStr() + '&os=' + data.os;
 			} else if (sessionStorage.pay == 'OVO_PAY') {
--
libgit2 0.25.0