From ec8357aa3e31de879fdf8eac0721ecd3937965db Mon Sep 17 00:00:00 2001 From: Tokumeikoi Date: Mon, 3 Feb 2020 02:47:29 +0800 Subject: [PATCH] fix api --- app/Http/Routes/AdminRoute.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Routes/AdminRoute.php b/app/Http/Routes/AdminRoute.php index 83689e72..bab60290 100644 --- a/app/Http/Routes/AdminRoute.php +++ b/app/Http/Routes/AdminRoute.php @@ -34,7 +34,7 @@ class AdminRoute // User $router->get ('/user/fetch', 'Admin\\UserController@fetch'); $router->post('/user/update', 'Admin\\UserController@update'); - $router->get ('/user/id2UserInfo/{id}', 'Admin\\UserController@id2UserInfo'); + $router->get ('/user/getUserInfoById', 'Admin\\UserController@getUserInfoById'); // Stat $router->get ('/stat/getOverride', 'Admin\\StatController@getOverride'); // Notice