Authored by xuqi

register location href

@@ -54,14 +54,7 @@ $btnSure.on('touchstart', function() { @@ -54,14 +54,7 @@ $btnSure.on('touchstart', function() {
54 location.href = data.data; 54 location.href = data.data;
55 }, 1000); 55 }, 1000);
56 } else { 56 } else {
57 - if (data.code === 401 || data.code === 404 || data.code === 505) {  
58 - showErrTip(data.message);  
59 - } else {  
60 - showErrTip(data.message);  
61 - setTimeout(function() {  
62 - location.href = data.data;  
63 - }, 1000);  
64 - } 57 + showErrTip(data.message);
65 } 58 }
66 } 59 }
67 }); 60 });