Browse Source

商品详情取消市场

master
Lemon 6 years ago
parent
commit
08fe719948
  1. 4
      app/Service/v3/Implementations/GoodsService.php

4
app/Service/v3/Implementations/GoodsService.php

@ -67,9 +67,7 @@ class GoodsService implements GoodsServiceInterface
public function detail($goodsId) public function detail($goodsId)
{ {
$res = Goods::query()->with(['store' => function($query){
$query->with('market');
}])->where('id',$goodsId)->first();
$res = Goods::query()->with('store')->where('id',$goodsId)->first();
return $res; return $res;
} }
} }
Loading…
Cancel
Save