Commit f9bd2a09 by agan

提交

parent eeffb261
Showing with 14 additions and 13 deletions
...@@ -377,19 +377,20 @@ ...@@ -377,19 +377,20 @@
copyText(andoridData); copyText(andoridData);
var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + andoridData + '.apk' var url = 'https://big.bgp.ourpow.com/apk/nf/Release-' + andoridData + '.apk';
var mAjax = $.ajax({ window.location.href = url;
url: url, // var mAjax = $.ajax({
statusCode: { // url: url,
404: function () { // statusCode: {
window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk'; // 404: function () {
} // window.location.href = 'https://big.bgp.ourpow.com/apk/nf/Release-ftsB.apk';
}, // }
success: function () { // },
mAjax.abort(); // success: function () {
window.location.href = url; // mAjax.abort();
} // window.location.href = url;
}); // }
// });
} }
$('.topUp').on('click', function () { $('.topUp').on('click', function () {
......
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