Pārlūkot izejas kodu

fix:列表跟进显示

lizhi 3 mēneši atpakaļ
vecāks
revīzija
9909213cde
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      protected/controllers/SchoolRelationController.php

+ 1 - 1
protected/controllers/SchoolRelationController.php

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