获取本地生活商品详情
This commit is contained in:
parent
bcb4babb87
commit
a5fc91a10f
@ -244,7 +244,8 @@ class LocalStoreGoodsLogic extends Logic
|
||||
if ($data['is_multiple_spec'] == 1) {
|
||||
$data['item'] = LocalStoreGoodsItem::where([
|
||||
'goods_id' => $get['id']
|
||||
])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select();
|
||||
// ])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select();
|
||||
])->field('image, spec_value_str, price, note')->select();
|
||||
|
||||
foreach ($data['item'] as &$v) {
|
||||
$v['image'] = Config::get('aliyunoss.domain') . $v['image'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user