APPLE пре 3 година
родитељ
комит
8258710c3d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Services/Common/GoodsService.php

+ 1 - 1
app/Services/Common/GoodsService.php

@@ -131,7 +131,7 @@ class GoodsService extends BaseService
         $list = $this->model->from('trade as a')
             ->leftJoin('member as b', 'b.id', '=', 'a.user_id')
             ->leftJoin('member as c', 'c.id', '=', 'a.sell_uid')
-            ->leftJoin('shop as d', 'c.id', '=', 'd.shop_id')
+            ->leftJoin('shop as d', 'd.id', '=', 'a.shop_id')
             ->leftJoin('goods as g', 'g.id', '=', 'a.goods_id')
             ->where($where)
             ->where(function ($query) use($params){