wupengfei 2 years ago
parent
commit
41550633bd
2 changed files with 2 additions and 2 deletions
  1. 1 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Supplier.php

+ 1 - 1
.idea/workspace.xml

@@ -294,7 +294,7 @@
       <workItem from="1681692707179" duration="23967000" />
       <workItem from="1681779545042" duration="19230000" />
       <workItem from="1681866032563" duration="20122000" />
-      <workItem from="1681952639054" duration="15298000" />
+      <workItem from="1681952639054" duration="15325000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Supplier.php

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