|
|
@ -28,9 +28,6 @@ $(document).ready(function () {
|
|
|
|
method: 'GET',
|
|
|
|
method: 'GET',
|
|
|
|
dataType: 'json',
|
|
|
|
dataType: 'json',
|
|
|
|
success: function (pay) {
|
|
|
|
success: function (pay) {
|
|
|
|
if (window.client_moniker=='PINE'){
|
|
|
|
|
|
|
|
alert('pay json:'+JSON.stringify(pay));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (pay.direct_paid) {
|
|
|
|
if (pay.direct_paid) {
|
|
|
|
location.href = window.redirect;
|
|
|
|
location.href = window.redirect;
|
|
|
|
return;
|
|
|
|
return;
|
|
|
@ -48,9 +45,6 @@ $(document).ready(function () {
|
|
|
|
tradeNO: pay.trade_no
|
|
|
|
tradeNO: pay.trade_no
|
|
|
|
}, function (res) {
|
|
|
|
}, function (res) {
|
|
|
|
dataCache.paying = false;
|
|
|
|
dataCache.paying = false;
|
|
|
|
if (window.client_moniker=='PINE'){
|
|
|
|
|
|
|
|
alert('callback:'+JSON.stringify(res));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
if (res.resultCode == '9000') {
|
|
|
|
if (res.resultCode == '9000') {
|
|
|
|
AlipayJSBridge.call('startApp', {
|
|
|
|
AlipayJSBridge.call('startApp', {
|
|
|
|
appId: '20000056',
|
|
|
|
appId: '20000056',
|
|
|
|