diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d30295f..764e5a1 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -1,8 +1,9 @@ - + + @@ -40,11 +41,9 @@ - + - - @@ -87,8 +86,8 @@ - - + + @@ -96,21 +95,31 @@ - - + + - - + + - - + + - - + + + + + + + + + + + + @@ -173,7 +182,7 @@ @@ -202,7 +211,6 @@ @@ -248,7 +257,6 @@ - @@ -281,6 +289,7 @@ + @@ -881,22 +890,34 @@ + + + + + + + + + + + + + + + - + + + + + + - - - - - - - - @@ -1038,7 +1059,6 @@ - @@ -1079,14 +1099,6 @@ - - - - - - - - @@ -1098,11 +1110,9 @@ - + - - @@ -1139,7 +1149,7 @@ - + @@ -1162,16 +1172,24 @@ - - + + + + + + + + + + - - + + diff --git a/README.md b/README.md index 1d32455..3d6d4f1 100644 --- a/README.md +++ b/README.md @@ -71,3 +71,6 @@ - 优化查票流程 - 修改二等座的余票数返回为字符串的问题 - 优化订单查询bug +- 2018.1.12更新 + - 优化抢票页面逻辑 + -增强代码稳定性 diff --git a/init/select_ticket_info.py b/init/select_ticket_info.py index 3080deb..612d353 100644 --- a/init/select_ticket_info.py +++ b/init/select_ticket_info.py @@ -3,6 +3,7 @@ import json import datetime import random import re +import socket import threading import urllib import sys @@ -626,6 +627,8 @@ class select: print(e.message) except KeyError as e: print(e.message) + except socket.error as e: + print(e.message) # class selectProducer(threading.Thread):