diff --git a/app/Service/Api/Good/OptionalListService.php b/app/Service/Api/Good/OptionalListService.php index 5a58d17..76f0a09 100644 --- a/app/Service/Api/Good/OptionalListService.php +++ b/app/Service/Api/Good/OptionalListService.php @@ -161,6 +161,7 @@ class OptionalListService extends BaseService if (!empty($favorable)) { foreach ($favorable['sku_list'] as &$v) { $v['origin_spu_id'] = $skuList[$v['origin_sku_id']]['spu_id'] ?? 0; + $v['category_id'] = CategoryCode::SECKILL; } array_unshift($res,[