This commit is contained in:
zmj 2024-06-06 12:04:40 +08:00
commit 95fcbe1e4d

View File

@ -372,7 +372,7 @@ class OrderLogic extends BaseLogic
return [];
}
$goods_arr = array_unique($goods_id);
$select = StoreProduct::where('id', 'in', $goods_arr)->with('unitName')->field('id,name,sell,imgs,unit')->select();
$select = StoreBranchProduct::where('id', 'in', $goods_arr)->with('unitName')->field('id,store_name,price,image,unit')->select();
return $select->toArray();
} catch (\Exception $e) {
self::setError($e->getMessage());