简化商品插入数据表

This commit is contained in:
2026-04-10 11:51:11 +08:00
parent 86ba722bfc
commit 53214f5bf7
3 changed files with 40 additions and 40 deletions

View File

@@ -90,7 +90,7 @@ def get_goods_info():
for goods_info in results:
try:
GoodsModel.add_goods(*goods_info.to_db_data())
GoodsModel.add_goods(goods_info)
for p_url in goods_info.p_urls:
p_urls[p_url] = None
except Exception as e: