Commit 79b1f5dd authored by litaolemo's avatar litaolemo

update

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