setter
parent
3f9836981e
commit
9cc57fe64e
|
@ -62,6 +62,7 @@ trait SkuTrait
|
|||
|
||||
$item->begin_at = $item->is_activity > 0 ? $item->limitTime['begin_at'] : '';
|
||||
$item->end_at = $item->is_activity > 0 ? $item->limitTime['end_at'] : '';
|
||||
$item->unit = $item->spu->unit ?? '';
|
||||
|
||||
unset($item->spu);
|
||||
unset($item->activity);
|
||||
|
|
Loading…
Reference in New Issue