Commit 9ed9a92e by Aeolus

update

parent 4a3dd0f4
...@@ -124,7 +124,8 @@ def create_rent(): ...@@ -124,7 +124,8 @@ def create_rent():
db.session.add(rent) db.session.add(rent)
db.session.add(rent_detail) db.session.add(rent_detail)
db.session.commit() db.session.commit()
return BaseResponse(data={"out_trade_no": rent_no, "free_order": True}) return BaseResponse(
data={"out_trade_no": rent_no, "free_order": True, "open_hatchs": {str(open_hatch.hatch_no): 1}})
total_fee = 0 total_fee = 0
open_hatchs = {} open_hatchs = {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment