调整活动专区商品列表
This commit is contained in:
parent
6266a4c147
commit
a5e9c47a36
@ -47,7 +47,7 @@ class ActivityZoneFormLogic extends BaseLogic
|
||||
$params['cate_ids'] = !empty($cateIds) ? implode(',', $cateIds) : '';
|
||||
$activityZoneForm = new ActivityZoneForm();
|
||||
$activityZoneForm->save($params);
|
||||
$products = StoreProduct::field('id,two_cate_id,cate_id')->where('two_cate_id', 'in', $secondCateIds)->whereOr('cate_id', 'in', $thirdCateIds)->select()->toArray();
|
||||
$products = StoreProduct::field('id,two_cate_id,cate_id')->where('two_cate_id', 'in', $cateIds)->whereOr('cate_id', 'in', $cateIds)->select()->toArray();
|
||||
$productInfo = [];
|
||||
$time = time();
|
||||
foreach ($products as $product) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user