mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
首页手动模式下商品缺失修复
This commit is contained in:
@ -162,6 +162,8 @@ class SiteService
|
||||
['is_shelves', '=', 1],
|
||||
],
|
||||
'field' => 'id,title,images',
|
||||
'm' => 0,
|
||||
'n' => 0,
|
||||
]);
|
||||
// 使用商品id作为key返回
|
||||
$goods = empty($ret['data']) ? [] : array_column($ret['data'], null, 'id');
|
||||
|
||||
Reference in New Issue
Block a user