Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

libai / footsen

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Commit 5ba54567 authored 8 months ago by libai's avatar libai
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

ft活动上线

parent f1a06fe3 master
Show whitespace changes
Inline Side-by-side
Showing with 30 additions and 1 deletions
  • footseen/phonepay/applepay.html
footseen/phonepay/applepay.html
View file @ 5ba54567
......@@ -759,7 +759,36 @@
// sessionStorage.money = money;
// sessionStorage.rid = rid;
switch (sessionStorage.pay) {
case "ONLYPAY":
if (flag) {
$.ajax({
url: _url + "/pay/toOnlypay",
data: {
uid: localStorage.uid,
country: '86',
rid: sessionStorage.rid,
amount: sessionStorage.money,
returnUrl: _url4 + '/phonepay/paySuccess.html?lang=' + sessionStorage.lang,
failureUrl: _url4 + '/phonepay/payFail.html?lang=' + sessionStorage.lang,
firstName: sessionStorage.firstName || '',
lastName: sessionStorage.lastName || '',
email: sessionStorage.email || '',
phone: sessionStorage.phone || '',
product: "H5寶石儲值",
payType: sessionStorage.pay,
},
success: function (res) {
if (res.code == 1) {
window.location.href = res.url;
} else {
layer.msg(res.msg);
}
}
})
} else {
window.location.href = 'https://firefly.live/appPhonePay/phonepay/visaInfo.html?uid=' + localStorage.uid + '&lang=' + sessionStorage.lang + '&pay=' + sessionStorage.pay + '&money=' + sessionStorage.money + '&rid=' + sessionStorage.rid;
}
break;
case "PAYERMAX_PAY":
$.ajax({
url: _url + "/pay/toPayermax.html",
......
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment