mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
- eb_store_product_relation 使用 (uid, product_id, type, category) 联合主键, Model::saveAll() 因主键字段齐全走 UPDATE 分支,导致新记录静默写入失败; DAO 新增 insertAll() 直连模型 insertAll 绕过该语义。 - 写入前过滤非正数商品ID(前端未取到 product_id 时会传空值),避免脏数据。 - 批量写入统一使用同一 add_time,便于按批次检索。