Carbon\Carbon::now()->diffInYears(Carbon\Carbon::parse(request()->input('form.birthdate');
return response(['message' => "That's less than 6, not allowed",500]);
}在我的axios请求中
晚上好,我正在做一个Laravel项目。我做了一个“您的个人资料”按钮,将您重定向到您的个人资料,但我有一个用户:查看用户。{.profilePage}找不到。我的UserPolicy.php函数: public function Owner(User $user,User $destinationUser){ } 我的UserController.php public