Explorar el Código

fix:列表跟进显示

lizhi hace 3 meses
padre
commit
9acee6ce41

+ 1 - 1
protected/controllers/CompanyController.php

@@ -91,7 +91,7 @@ class CompanyController extends Controller
                 null,
                 'id'
             );
-            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_school_follow', $users);
+            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_company_follow', $users);
             $data['records'] = array_map(function ($item) use ($users) {
                 $item['last_user_name'] = $users[$item['last_user_id']]['username'] ?? '-';
                 $item['bind_user_name'] = $users[$item['bind_user_id']]['username'] ?? '-';

+ 1 - 1
protected/controllers/CompanyRelationController.php

@@ -56,7 +56,7 @@ class CompanyRelationController extends Controller
                 null,
                 'id'
             );
-            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_school_follow', $users);
+            $data['records'] = FollowSrv::formatWithFollowList($data['records'], 'wx_company_follow', $users);
             $data['records'] = array_map(function ($item) use ($users) {
                 $item['last_user_name'] = $users[$item['last_user_id']]['username'] ?? '-';
                 return $item;