Commit c27ccbe1 by Aeolus

update

parent 844cefbc
...@@ -148,6 +148,8 @@ def run_nfc_card_wx_pay_callback(): ...@@ -148,6 +148,8 @@ def run_nfc_card_wx_pay_callback():
import xmltodict import xmltodict
callback_data = dict(xmltodict.parse(xml_data)['xml']) callback_data = dict(xmltodict.parse(xml_data)['xml'])
logger.info(xml_data)
logger.info(callback_data)
attach = re.sub('\'', '\"', callback_data["attach"]) attach = re.sub('\'', '\"', callback_data["attach"])
rent_data = json.loads(attach) rent_data = json.loads(attach)
platform = rent_data["platform"] platform = rent_data["platform"]
......
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