|
@@ -862,7 +862,7 @@ class Supplier extends Base
|
|
|
{
|
|
|
$sel_where = [];
|
|
|
$sel_where[] = ['p.type', '=', 7];
|
|
|
- $sel_where[] = ['f.user_id', '=', $this->user_id];
|
|
|
+ $sel_where[] = ['g.user_id', '=', $this->user_id];
|
|
|
$sel_where[] = ['p.to_deleted', '=', 0];
|
|
|
$list = PlatformLike::where($sel_where)
|
|
|
->field('p.*,g.id goods_id,g.name,g.read_num,u.name user_name,u.headimg,s.logo supplier_logo ,s.title supplier_name')->alias('p')
|