群信息
This commit is contained in:
@@ -14,6 +14,19 @@ use support\think\Db;
|
|||||||
|
|
||||||
class GroupController extends ApiController
|
class GroupController extends ApiController
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public function info(Request $request): Response
|
||||||
|
{
|
||||||
|
$shop_id = $request->post('shop_id');
|
||||||
|
if (empty($shop_id)) {
|
||||||
|
return $this->error('参数不存在');
|
||||||
|
}
|
||||||
|
return $this->success(Db::name('chat_group')->where(['shop_id' => $shop_id])->find());
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 创建群(仅商家可创建)
|
* 创建群(仅商家可创建)
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user