代码兼容性提交

This commit is contained in:
wong
2026-01-31 15:19:11 +08:00
parent 9bc1d7d7bf
commit ab5885f2a0
27 changed files with 185 additions and 224 deletions

View File

@@ -68,9 +68,9 @@ class WechatChatroomController extends BaseController
$isUpdate = false;
foreach ($response['results'] as $item) {
if (is_array($item)) {
$updated = $this->saveChatroom($item);
if($updated && $isDel == 0){
$isUpdate = true;
$updated = $this->saveChatroom($item);
if($updated && $isDel == 0){
$isUpdate = true;
}
}
}
@@ -195,7 +195,7 @@ class WechatChatroomController extends BaseController
if (!empty($response)) {
foreach ($response as $item) {
if (is_array($item)) {
$this->saveChatroomMember($item, $chatroomId);
$this->saveChatroomMember($item, $chatroomId);
}
}
}