获取本地生活商品详情

This commit is contained in:
wangxiaowei 2024-09-14 10:16:29 +08:00
parent a5fc91a10f
commit 89c4238417

@ -245,7 +245,7 @@ class LocalStoreGoodsLogic extends Logic
$data['item'] = LocalStoreGoodsItem::where([
'goods_id' => $get['id']
// ])->field('id, image, spec_value_ids, spec_value_str, price, stock, note')->select();
])->field('image, spec_value_str, price, note')->select();
])->field('id, image, spec_value_str, price, note')->select();
foreach ($data['item'] as &$v) {
$v['image'] = Config::get('aliyunoss.domain') . $v['image'];