提交 f7814e8e 作者: 薛凌堃

微信列表事务提交

上级 13609e3d
......@@ -255,6 +255,7 @@ def getFromSql():
selectSql = "SELECT info_source_code from info_source where site_uri like '%mp.weixin.qq.com%'"
cursor.execute(selectSql)
results = cursor.fetchall()
cnx.commit()
result_list = [item[0] for item in results]
#放入redis
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论