Commit 85e0a47b authored by 张彦钊's avatar 张彦钊

change test file

parent 70b51392
......@@ -21,7 +21,7 @@ def Json(x):
data = json.loads(x[1])
if 'type' in data and 'device' in data and 'params' in data and 'card_content_type' in data['params']:
if data['type'] == 'on_click_card' and data["device"]["device_id"] == "E417C286-40A4-42F6-BDA9-AEEBD8FEC3B6" \
and data['params']['card_content_type'] in ("answer","user_post"):
and data['params']['card_content_type'] == "answer":
return True
else:
return False
......
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