|
@@ -253,7 +253,7 @@
|
|
|
http_ip_prot + 'lottery/authcode', JSON.stringify(post_data),
|
|
|
function (data) {
|
|
|
if (data['code'] == 0) {
|
|
|
-
|
|
|
+ alert(data['msg'])
|
|
|
} else {
|
|
|
alert(data['msg'])
|
|
|
}
|
|
@@ -489,17 +489,7 @@
|
|
|
}
|
|
|
}
|
|
|
// 捕捉全局异常弹出
|
|
|
-function handleError(msg,url,l)
|
|
|
-{
|
|
|
- var txt="There was an error on this page.\n\n"
|
|
|
- txt+="Error: " + msg + "\n"
|
|
|
- txt+="URL: " + url + "\n"
|
|
|
- txt+="Line: " + l + "\n\n"
|
|
|
- txt+="Click OK to continue.\n\n"
|
|
|
- alert(txt)
|
|
|
- return true
|
|
|
-}
|
|
|
-window.onerror = handleError
|
|
|
+
|
|
|
</script>
|
|
|
</body>
|
|
|
</html>
|