master
wangxinglong 2022-06-01 16:37:29 +08:00
parent d8abca7acb
commit 3f9836981e
1 changed files with 2 additions and 1 deletions

View File

@ -446,7 +446,7 @@ class OrderRepository extends Repository
$skuIds[] = $sku->id; $skuIds[] = $sku->id;
$arr = []; $arr = [];
$arr['order_coding'] = $order->coding; $arr['order_coding'] = $order->coding;
$arr['coding'] = $sku->coding; $arr['coding'] = $sku->coding;
$arr['spu_id'] = $sku->spu_id; $arr['spu_id'] = $sku->spu_id;
$arr['spu_activity_id'] = $sku->spu_activity_id; $arr['spu_activity_id'] = $sku->spu_activity_id;
@ -468,6 +468,7 @@ class OrderRepository extends Repository
$arr['has_comment'] = OrderSku::HAS_COMMENT_NO; $arr['has_comment'] = OrderSku::HAS_COMMENT_NO;
$arr['is_activity'] = $sku->is_activity; $arr['is_activity'] = $sku->is_activity;
$arr['activity_type'] = $sku->activity_type; $arr['activity_type'] = $sku->activity_type;
$arr['sku_unit'] = $sku->unit;
$insert[] = $arr; $insert[] = $arr;
if ($sku->is_virtual > 0) { if ($sku->is_virtual > 0) {