fix : user site

This commit is contained in:
2025-03-31 15:45:04 +08:00
parent d84ffd4c9e
commit bfa35c5308
4 changed files with 198 additions and 1 deletions

View File

@@ -13,7 +13,9 @@ 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 App\Service\Api\User\UpdateProfileService;
use Hyperf\HttpServer\Annotation\Controller;
use Hyperf\HttpServer\Annotation\Middleware;
use Hyperf\HttpServer\Annotation\Middlewares;
use Hyperf\HttpServer\Annotation\RequestMapping;
use Hyperf\Validation\Annotation\Scene;
@@ -137,8 +139,15 @@ class UserController extends AbstractController
return (new MyPageService)->handle();
}
/**
* @return array
*/
#[RequestMapping(path: 'update_profile',methods: 'POST')]
#[Scene(scene: 'update_profile')]
public function updateProfile()
{
return (new UpdateProfileService)->handle();
}
}