Commit 1cdf4683 by Aeolus

update

parent a696cb5b
......@@ -280,7 +280,7 @@ def wx_pay_callback():
rent_detail.content = i.content
rent_detail.summary = i.summary
db.session.add(rent_detail)
total_fee += rent_detail.price
total_fee += rent_detail.total
if total_fee != int(callback_data['total_fee']):
return xmltodict.unparse({'xml': error_data}, pretty=True), header
......
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