Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
footsen
This project
Loading...
Sign in
Toggle navigation
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
2ca0ad75
authored
a year ago
by
agan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
edafad25
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
75 deletions
footseen/phonepay/danapay.html
footseen/phonepay/newgopay.html
footseen/phonepay/ovopay.html
footseen/phonepay/danapay.html
View file @
2ca0ad75
...
...
@@ -70,32 +70,30 @@
$
(
".gash-for-ul"
).
html
(
html
);
$
(
".gash-for-ul li"
).
on
(
"click"
,
function
()
{
if
(
flag
)
{
flag
=
false
;
var
money
=
$
(
this
).
children
(
"button"
).
children
(
'i'
).
text
();
var
rid
=
$
(
this
).
children
(
".gash-rid"
).
text
();
$
.
ajax
({
type
:
"POST"
,
url
:
$ip
+
"/pay/getCodaPay.html"
,
data
:
{
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'paymentType'
:
sessionStorage
.
payType
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
},
async
:
true
,
success
:
function
(
res
)
{
console
.
log
(
res
);
var
data
=
JSON
.
parse
(
res
);
window
.
location
.
href
=
'https://airtime.codapayments.com/airtime/begin?type='
+
sessionStorage
.
payType
+
'&txn_id='
+
data
.
result
+
'&browser_type=mobile-web'
;
$
.
ajax
({
url
:
_url
+
"/pay/getPaymentWall.html"
,
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
:
langList
[
langType
].
text53
,
payType
:
sessionStorage
.
pay
,
},
success
:
function
(
res
)
{
if
(
res
.
code
==
1
)
{
window
.
location
.
href
=
res
.
url
;
}
else
{
layer
.
msg
(
res
.
msg
);
}
}
);
}
}
}
)
})
}
...
...
This diff is collapsed.
Click to expand it.
footseen/phonepay/newgopay.html
View file @
2ca0ad75
...
...
@@ -70,32 +70,30 @@
$
(
".gash-for-ul"
).
html
(
html
);
$
(
".gash-for-ul li"
).
on
(
"click"
,
function
()
{
if
(
flag
)
{
flag
=
false
;
var
money
=
$
(
this
).
children
(
"button"
).
children
(
'i'
).
text
();
var
rid
=
$
(
this
).
children
(
".gash-rid"
).
text
();
$
.
ajax
({
type
:
"POST"
,
url
:
$ip
+
"/pay/getCodaPay.html"
,
data
:
{
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'paymentType'
:
sessionStorage
.
payType
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
},
async
:
true
,
success
:
function
(
res
)
{
console
.
log
(
res
);
var
data
=
JSON
.
parse
(
res
);
window
.
location
.
href
=
'https://airtime.codapayments.com/airtime/begin?type='
+
sessionStorage
.
payType
+
'&txn_id='
+
data
.
result
+
'&browser_type=mobile-web'
;
$
.
ajax
({
url
:
_url
+
"/pay/getPaymentWall.html"
,
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
:
langList
[
langType
].
text53
,
payType
:
sessionStorage
.
pay
,
},
success
:
function
(
res
)
{
if
(
res
.
code
==
1
)
{
window
.
location
.
href
=
res
.
url
;
}
else
{
layer
.
msg
(
res
.
msg
);
}
}
);
}
}
}
)
})
}
...
...
This diff is collapsed.
Click to expand it.
footseen/phonepay/ovopay.html
View file @
2ca0ad75
...
...
@@ -70,32 +70,30 @@
$
(
".gash-for-ul"
).
html
(
html
);
$
(
".gash-for-ul li"
).
on
(
"click"
,
function
()
{
if
(
flag
)
{
flag
=
false
;
var
money
=
$
(
this
).
children
(
"button"
).
children
(
'i'
).
text
();
var
rid
=
$
(
this
).
children
(
".gash-rid"
).
text
();
$
.
ajax
({
type
:
"POST"
,
url
:
$ip
+
"/pay/getCodaPay.html"
,
data
:
{
'lang'
:
sessionStorage
.
lang
,
'uid'
:
sessionStorage
.
uid
,
'product'
:
"橙钻充值"
,
'country'
:
"86"
,
'rid'
:
rid
,
'payType'
:
sessionStorage
.
pay
,
'paymentType'
:
sessionStorage
.
payType
,
'payTypeSub'
:
"NAVITE"
,
'amount'
:
money
*
100
,
},
async
:
true
,
success
:
function
(
res
)
{
console
.
log
(
res
);
var
data
=
JSON
.
parse
(
res
);
window
.
location
.
href
=
'https://airtime.codapayments.com/airtime/begin?type='
+
sessionStorage
.
payType
+
'&txn_id='
+
data
.
result
+
'&browser_type=mobile-web'
;
$
.
ajax
({
url
:
_url
+
"/pay/getPaymentWall.html"
,
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
:
langList
[
langType
].
text53
,
payType
:
sessionStorage
.
pay
,
},
success
:
function
(
res
)
{
if
(
res
.
code
==
1
)
{
window
.
location
.
href
=
res
.
url
;
}
else
{
layer
.
msg
(
res
.
msg
);
}
}
);
}
}
}
)
})
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment