Commit 8308264b by Aeolus

update

parent 30a67d3d
...@@ -134,7 +134,7 @@ def wx_pay_callback(): ...@@ -134,7 +134,7 @@ def wx_pay_callback():
rent_no = callback_data['out_trade_no'] rent_no = callback_data['out_trade_no']
rent = Rent.query.filter_by(rent_no=rent_no).first() rent = Rent.query.filter_by(rent_no=rent_no).first()
if rent: if rent:
return xmltodict.unparse({'xml': error_data}, pretty=True), header return xmltodict.unparse({'xml': response_data}, pretty=True), header
machine = Machine.query.filter_by(machine_no=machine_no).first() machine = Machine.query.filter_by(machine_no=machine_no).first()
......
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