Commit 98866eaa authored by 高雅喆's avatar 高雅喆

update

parent 791aa476
......@@ -57,7 +57,7 @@ if __name__ == '__main__':
sql_device_ids = "select distinct cl_id from user_new_tag_log " \
"where time > UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 day))"
mysql_results = get_data_by_mysql('172.16.40.158', 4000, 'root', '3SYz54LS9#^9sBvC', 'jerry_test', sql_device_ids)
device_ids_lst = [i[0] for i in mysql_results]
device_ids_lst = [i["cl_id"] for i in mysql_results]
print(device_ids_lstp[:10])
# 获取搜索词及其近义词对应的tag
......
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