|
|
@@ -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'] ?? '-';
|