feat : mypage

This commit is contained in:
2025-03-28 09:52:06 +08:00
parent 02b51081d3
commit 2feb14361e
3 changed files with 101 additions and 0 deletions

View File

@@ -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();
}
}