xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
887981e4df
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      routes/api.php

+ 1 - 1
routes/api.php

xqd
@@ -122,7 +122,7 @@ $api->version('v1', [
             $api->get('/distory_user', 'UserController@distory_user')->name('user.distory_user');
             $api->get('/share', 'UserController@share')->name('user.share');
             $api->get('/getinfo_tag', 'UserController@getinfo_tag')->name('user.getinfo_tag');
-            $api->get('/reset_password', 'UserController@reset_password')->name('user.reset_password');
+            $api->post('/reset_password', 'UserController@reset_password')->name('user.reset_password');
 
         });