Ver código fonte

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

Bay 6 anos atrás
pai
commit
af918b8d33
2 arquivos alterados com 9 adições e 11 exclusões
  1. 8 10
      api/Auth-权限.md
  2. 1 1
      api/User-用户.md

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

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

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

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