mirror of
https://gitee.com/koogua/course-tencent-cloud.git
synced 2025-06-20 11:03:01 +08:00
38 lines
790 B
PHP
38 lines
790 B
PHP
<?php
|
|
/**
|
|
* @copyright Copyright (c) 2021 深圳市酷瓜软件有限公司
|
|
* @license https://opensource.org/licenses/GPL-2.0
|
|
* @link https://www.koogua.com
|
|
*/
|
|
|
|
namespace App\Http\Home\Controllers;
|
|
|
|
use App\Http\Home\Services\ImGroupUser as ImGroupUserService;
|
|
|
|
/**
|
|
* @RoutePrefix("/im/group/user")
|
|
*/
|
|
class ImGroupUserController extends Controller
|
|
{
|
|
|
|
/**
|
|
* @Post("/delete", name="home.im_group_user.delete")
|
|
*/
|
|
public function deleteAction()
|
|
{
|
|
$groupService = new ImGroupUserService();
|
|
|
|
$groupService->deleteGroupUser();
|
|
|
|
$location = $this->request->getHTTPReferer();
|
|
|
|
$content = [
|
|
'location' => $location,
|
|
'msg' => '删除成员成功',
|
|
];
|
|
|
|
return $this->jsonSuccess($content);
|
|
}
|
|
|
|
}
|