Skip to content

Commit

Permalink
添加"查看订票信息"选项
Browse files Browse the repository at this point in the history
  • Loading branch information
huzhifeng committed Dec 10, 2014
1 parent dc9381e commit 43605fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions py12306.py
Original file line number Diff line number Diff line change
Expand Up @@ -1055,6 +1055,7 @@ def selectAction(self):
print(u't.更改目的站')
print(u'a.同时更改乘车日期,出发站和目的站')
print(u'u.查询未完成订单')
print(u'c.查看订票信息')
print(u'r.刷票模式')
print(u'n.普通模式')
print(u'q.退出')
Expand Down Expand Up @@ -1107,6 +1108,9 @@ def selectAction(self):
elif select == 'u':
ret = self.queryMyOrderNotComplete()
ret = self.selectAction()
elif select == 'c':
ret = self.printConfig()
ret = self.selectAction()
elif select == 'r':
self.notify['mail_enable'] = 1
ret = -1
Expand Down

0 comments on commit 43605fc

Please sign in to comment.