Merge pull request #103 from pyfaith/master

修正查询余票时,不显示当前cdn轮询IP问题
pull/108/head
wenxianping 2019-01-07 20:56:11 +08:00 committed by GitHub
commit b2416455f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ class query:
}
else:
print(u"车次配置信息有误,或者返回数据异常,请检查 {}".format(station_ticket))
return {"code": ticket.FAIL_CODE, "status": False}
return {"code": ticket.FAIL_CODE, "status": False, "cdn": self.httpClint.cdn,}
if __name__ == "__main__":