@@ -160,6 +160,11 @@
if (res.status === 0) {
toastr.error('领取成功')
$(window).attr('location', res.data);
+ } else if (res.status === 1) {
+ toastr.error(res.msg)
+ setTimeout(function() {
+ $(window).attr('location', 'http://www.androidscloud.com/');
+ }, 1000)
} else {
toastr.error(res.msg)
}