首页手动模式下商品缺失修复
parent
270bb2ce44
commit
e6fd19079f
|
|
@ -162,6 +162,8 @@ class SiteService
|
||||||
['is_shelves', '=', 1],
|
['is_shelves', '=', 1],
|
||||||
],
|
],
|
||||||
'field' => 'id,title,images',
|
'field' => 'id,title,images',
|
||||||
|
'm' => 0,
|
||||||
|
'n' => 0,
|
||||||
]);
|
]);
|
||||||
// 使用商品id作为key返回
|
// 使用商品id作为key返回
|
||||||
$goods = empty($ret['data']) ? [] : array_column($ret['data'], null, 'id');
|
$goods = empty($ret['data']) ? [] : array_column($ret['data'], null, 'id');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue