提交货源图片和相似ASIN优化

This commit is contained in:
super
2026-05-24 21:59:21 +08:00
parent 532438faba
commit 7503e3fa8b
14 changed files with 1265 additions and 163 deletions

View File

@@ -417,8 +417,8 @@ class AmamzonBase(ZiniaoDriver):
"""
try:
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
if level == "ERROR":
show_notification(message, "error")
# if level == "ERROR":
# show_notification(message, "error")
print(f"[{timestamp}] [{self.mark_name}] [{level}] {message}")
except Exception as e:
print(f"输出出错,{e}")
@@ -689,8 +689,8 @@ class TaskBase:
"""
try:
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
if level == "ERROR":
show_notification(message, "error")
# if level == "ERROR":
# show_notification(message, "error")
print(f"[{timestamp}] [{self.task_name}] [{level}] {message}")
except Exception as e:
print(f"输出出错,{e}")
@@ -739,7 +739,7 @@ class TaskBase:
if not shop_data:
mes = f"获取店铺凭证失败,响应数据: {shop_data.get('message', '未知错误')}"
self.log(mes, "ERROR")
show_notification(mes, "ERROR")
# show_notification(mes, "ERROR")
continue
password = shop_data["data"]["password"]