获取本地生活商品详情,含有规格id则获取规格的金额
This commit is contained in:
parent
981a6c4a21
commit
36825b23d0
@ -244,8 +244,7 @@ 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_str, price, note')->select();
|
||||
])->field('id, image, spec_value_str, price, stock, note')->select();
|
||||
|
||||
foreach ($data['item'] as &$v) {
|
||||
$v['image'] = Config::get('aliyunoss.domain') . $v['image'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user