修正余票小于乘客人数,则不提交

This commit is contained in:
wenxianping
2018-09-19 17:20:51 +08:00
parent 2e023aebba
commit 2d85ef1994
3 changed files with 10 additions and 4 deletions

View File

@@ -183,7 +183,8 @@ class select:
to_station_h=self.to_station,
_station_seat=self._station_seat,
station_trains=self.station_trains,
station_dates=self.station_dates, )
station_dates=self.station_dates,
ticke_peoples_num=len(from_station),)
queryResult = q.sendQuery()
# 查询接口
if queryResult.get("status", False):