群信息

This commit is contained in:
2025-12-02 18:48:25 +08:00
parent ca09990480
commit 116f06664f
2 changed files with 15 additions and 11 deletions

View File

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