Commit 78463803 authored by litaolemo's avatar litaolemo

update

parent ca265a7c
...@@ -106,9 +106,10 @@ SELECT * FROM online.bl_hdfs_maidian_updates ...@@ -106,9 +106,10 @@ 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)
query = res.params["query"] res_json = json.loads(res.params)
card_name = res.params["card_name"] query = res_json["query"]
card_id = res.params["card_id"] card_name = res_json["card_name"]
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