本地生活添加商品规格

This commit is contained in:
wangxiaowei 2024-09-12 10:28:55 +08:00
parent c35cbb2545
commit d0695d1a12

@ -136,7 +136,7 @@ class LocalStoreGoodsLogic extends Logic
$data[$key]['spec_value_str'] = implode(',', $value['attributes']);
$data[$key]['price'] = $value['price'];
$data[$key]['stock'] = $value['stock'];
$data[$key]['notes'] = $value['note'];
$data[$key]['note'] = $value['note'];
$data[$key]['create_time'] = time();
}
LocalStoreGoodsItem::insertAll($data);