master
wangxinglong 2022-06-01 16:52:13 +08:00
parent 3f9836981e
commit 9cc57fe64e
1 changed files with 1 additions and 0 deletions

View File

@ -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);