Commit 95ece205 authored by pengfei's avatar pengfei

update wx group chat

parent 297d03c8
...@@ -46,8 +46,9 @@ class GroupChatService ...@@ -46,8 +46,9 @@ class GroupChatService
if (empty($result['group_chat_list'])) { if (empty($result['group_chat_list'])) {
break; break;
} }
$existChatIds = $this->getWxGroupChatIds(array_column($result['group_chat_list'], 'chat_id')); $groupChatList = $result['group_chat_list'];
foreach ($result['group_chat_list'] as $group) { $existChatIds = $this->getWxGroupChatIds(array_column($groupChatList, 'chat_id'));
foreach ($groupChatList as $group) {
try { try {
$groupChat = $this->getGroupChatDetail($group['chat_id']); $groupChat = $this->getGroupChatDetail($group['chat_id']);
$chatInfo = $this->getFormatGroupChat($group, $groupChat); $chatInfo = $this->getFormatGroupChat($group, $groupChat);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment