|
|
@@ -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){
|