Explorar el Código

[Auth] 重置密码路径修改 change -> reset

Bay hace 6 años
padre
commit
af918b8d33
Se han modificado 2 ficheros con 9 adiciones y 11 borrados
  1. 8 10
      api/Auth-权限.md
  2. 1 1
      api/User-用户.md

+ 8 - 10
api/Auth-权限.md

@@ -104,15 +104,19 @@ post /verification
 
 
 ### Parameters
 ### Parameters
 
 
-````ts
-interface
+```ts
+interface VerficationDTO {
+  phoneNumber: string;
+}
+```
+
 ## 修改密码
 ## 修改密码
 
 
 `STUDENT` `TEACHER`
 `STUDENT` `TEACHER`
 
 
 ```http
 ```http
 post /password/change
 post /password/change
-````
+```
 
 
 ### Parameters
 ### Parameters
 
 
@@ -132,17 +136,11 @@ interface EmptyData {
 }
 }
 ```
 ```
 
 
-{
-phoneNumber: string;
-}
-
-````
-
 ## 注册
 ## 注册
 
 
 ```http
 ```http
 post /register
 post /register
-````
+```
 
 
 ### Parameters
 ### Parameters
 
 

+ 1 - 1
api/User-用户.md

@@ -102,7 +102,7 @@ interface EmptyData {
 `ADMIN`
 `ADMIN`
 
 
 ```http
 ```http
-post /:userId/password/change
+post /:userId/password/reset
 ```
 ```
 
 
 ### Response
 ### Response