Commit 95ece205 authored by pengfei's avatar pengfei

update wx group chat

parent 297d03c8
......@@ -46,8 +46,9 @@ class GroupChatService
if (empty($result['group_chat_list'])) {
break;
}
$existChatIds = $this->getWxGroupChatIds(array_column($result['group_chat_list'], 'chat_id'));
foreach ($result['group_chat_list'] as $group) {
$groupChatList = $result['group_chat_list'];
$existChatIds = $this->getWxGroupChatIds(array_column($groupChatList, 'chat_id'));
foreach ($groupChatList as $group) {
try {
$groupChat = $this->getGroupChatDetail($group['chat_id']);
$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