简化商品插入数据表

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

@@ -54,7 +54,7 @@ class GoodsInfo(BaseModel):
other_data: dict = {} # 其他参数
def to_db_data(self):
"""转为goods_info.add_goods()所需格式"""
"""转为插入数据库所需格式"""
main_info = {
'spu': self.spu,