|
@@ -88,12 +88,9 @@ class ProjectAssociationController extends BaseController |
|
@@ -88,12 +88,9 @@ class ProjectAssociationController extends BaseController |
|
88
|
$cache = isset($cache);
|
88
|
$cache = isset($cache);
|
|
89
|
$search = request()->input('search');
|
89
|
$search = request()->input('search');
|
|
90
|
// $result = ProjectAssociationServices::getInstance()->getAiccWechatLists($isRes, $app, $cache);
|
90
|
// $result = ProjectAssociationServices::getInstance()->getAiccWechatLists($isRes, $app, $cache);
|
|
91
|
- $result = ProjectAssociationServices::getInstance()->getWorkChatRoomList($search);
|
91
|
+ $result = ProjectAssociationServices::getInstance()->getWorkChatRoomList($search, $isRes->friend_id);
|
|
92
|
$result['info'] = [
|
92
|
$result['info'] = [
|
|
93
|
- 'friend_id' => $isRes->friend_id ?? 0,
|
|
|
|
94
|
- 'nickname' => $isRes->nickname ?? '',
|
|
|
|
95
|
- 'user_name' => $isRes->user_name ?? '',
|
|
|
|
96
|
- 'image' => $isRes->image ?? '',
|
93
|
+ 'friend_id' => $isRes->friend_id ?? 0
|
|
97
|
];
|
94
|
];
|
|
98
|
$this->response('success', Code::SUCCESS, $result);
|
95
|
$this->response('success', Code::SUCCESS, $result);
|
|
99
|
}
|
96
|
}
|