Commit 79b1f5dd authored by litaolemo's avatar litaolemo

update

parent 78463803
......@@ -106,10 +106,9 @@ SELECT * FROM online.bl_hdfs_maidian_updates
res_list = []
for res in sql_res:
print(res)
res_json = json.loads(res.params)
query = res_json["query"]
card_name = res_json["card_name"]
card_id = res_json["card_id"]
query = res.params.get("query","")
card_name = res.params.get("card_name","")
card_id = res.params.get("card_id","")
user_id = res.user_id
time_str = res.time_str
page_name = res.page_name
......
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