Commit 721a17b7 by Aeolus

update

parent 90e3a5bb
......@@ -246,7 +246,7 @@ def wx_pay_callback():
rent.machine_no = machine.machine_no
rent.business_id = machine.business_id
rent.user_id = user_id
rent.place_id = machine.place_id
rent.place_id = machine.place_id if machine.place_id else 0
rent.total = int(callback_data["total_fee"])
rent.real_total = int(callback_data["total_fee"])
rent.add_time = datetime.datetime.now()
......
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