Commit 8adbf126 by Aeolus

update

parent ed568d92
...@@ -245,6 +245,7 @@ def wx_pay_callback(): ...@@ -245,6 +245,7 @@ def wx_pay_callback():
rent.user_id = user_id rent.user_id = user_id
rent.place_id = machine.place_id rent.place_id = machine.place_id
rent.total = int(callback_data["total_fee"]) rent.total = int(callback_data["total_fee"])
rent.real_total = int(callback_data["total_fee"])
rent.add_time = datetime.datetime.now() rent.add_time = datetime.datetime.now()
rent.is_pay = 1 rent.is_pay = 1
rent.pay_time = datetime.datetime.strptime(callback_data["time_end"], "%Y%m%d%H%M%S") rent.pay_time = datetime.datetime.strptime(callback_data["time_end"], "%Y%m%d%H%M%S")
......
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