瀏覽代碼

fix:列表跟进显示

lizhi 3 月之前
父節點
當前提交
9acee6ce41
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      protected/controllers/CompanyController.php
  2. 1 1
      protected/controllers/CompanyRelationController.php

+ 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;