feat : mypage
This commit is contained in:
@@ -10,6 +10,7 @@ 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\MyPageService;
|
||||
use App\Service\Api\User\SiteService;
|
||||
use App\Service\Api\User\UnBindPhoneService;
|
||||
use Hyperf\HttpServer\Annotation\Controller;
|
||||
@@ -103,4 +104,14 @@ class UserController extends AbstractController
|
||||
{
|
||||
return (new LogOutService)->handle();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
#[RequestMapping(path: 'myPage',methods: 'GET')]
|
||||
#[Scene(scene: 'myPage')]
|
||||
public function myPage()
|
||||
{
|
||||
return (new MyPageService)->handle();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user