|
@@ -10,7 +10,7 @@ from datetime import datetime
|
|
|
|
|
|
|
|
|
sys.path.append(os.getcwd())
|
|
|
-from common import MysqlHelper, Feishu
|
|
|
+from common import MysqlHelper, Feishu, Common
|
|
|
from single_video.gongzhonghao.gongzhonghao_video import gongzhonghaoVdieo
|
|
|
from single_video.shipinhao.shipinhao_author import shipinhaoVdieo
|
|
|
from single_video.douyin.douyin_video import douyinVideo
|
|
@@ -40,6 +40,7 @@ class VxMessage():
|
|
|
id = cls.read_id()
|
|
|
vx_list = cls.get_vx_message(id)
|
|
|
if vx_list:
|
|
|
+ Common.logger().info(f"查询到数据{vx_list}")
|
|
|
for vx_message in vx_list:
|
|
|
msg_type = vx_message[0]
|
|
|
content = vx_message[1]
|
|
@@ -87,8 +88,7 @@ class VxMessage():
|
|
|
time.sleep(0.5)
|
|
|
Feishu.update_values('video', "edd0a8", "A2:Z2", values)
|
|
|
else:
|
|
|
- print("没数据哦")
|
|
|
-
|
|
|
+ Common.logger().info("数据库没有查询到数据")
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|