rkljw hace 4 meses
padre
commit
9bcd3bbd7a
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      config/api/user.php

+ 2 - 0
config/api/user.php

@@ -29,6 +29,8 @@ Router::addGroup(
         Router::post('/changePassword', [UserController::class, 'changePassword']);
         //修改用户状态
         Router::post('/upUserStatus', [UserController::class, 'upUserStatus']);
+        //重置密码
+        Router::post('/resetPassword', [UserController::class, 'resetPassword']);
 
     },
     ['middleware' => [FooMiddleware::class]]