feat : config
This commit is contained in:
@@ -7,6 +7,7 @@ namespace App\Controller\Api;
|
||||
use App\Controller\AbstractController;
|
||||
use App\Middleware\Api\JwtAuthMiddleware;
|
||||
use App\Request\Api\UserRequest;
|
||||
use App\Service\Api\Login\LogOutService;
|
||||
use App\Service\Api\User\BindPhoneByWxService;
|
||||
use App\Service\Api\User\InviteListService;
|
||||
use App\Service\Api\User\SiteService;
|
||||
@@ -79,4 +80,16 @@ class UserController extends AbstractController
|
||||
{
|
||||
return (new InviteListService)->handle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
#[RequestMapping(path: 'logOut',methods: 'GET')]
|
||||
#[Scene(scene: 'logOut')]
|
||||
public function logOut()
|
||||
{
|
||||
return (new LogOutService)->handle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user