群信息

This commit is contained in:
2025-12-03 09:21:34 +08:00
parent 26d0768ba8
commit e54e14056e
3 changed files with 10 additions and 8 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])->find());
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id, 'owner_id' => $this->uid])->find());
}