Commit f9bd2a09 by agan

提交

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