群信息

This commit is contained in:
2025-12-02 19:53:13 +08:00
parent b155f6be3c
commit 26d0768ba8
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ class GroupController extends ApiController
if (empty($shop_id)) {
return $this->error('参数不存在');
}
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id, 'owner_id' => $this->uid])->find());
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id])->find());
}

View File

@@ -288,7 +288,7 @@ namespace extend\chat\model;
}
}
// 给发送者反馈
Gateway::sendToClient($client_id, self::sendGormat($message));
Gateway::sendToClient($client_id, self::sendGormat($message, $message));
}