We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5cd8046 commit 77484a1Copy full SHA for 77484a1
1 file changed
src/api/v1/user.md
@@ -783,3 +783,36 @@ POST /v1/user/forget-password
783
"msg": "success" // 返回消息
784
}
785
```
786
+
787
+## 修改个人资料
788
789
+POST /v1/user/save-user-data
790
791
+请求头:
792
793
+|名称|必须|备注|
794
+|-----|-----|-----|
795
+|token|是|空|
796
797
+请求体:
798
799
+```JSONC
800
+{
801
+ "introduction": "111", // 个人简介
802
+ "gender": 3, // 性别,1-男,2-女,3-其他
803
+ "birthday": 1762876800, // 生日时间戳
804
+ "province": "北京市", // 所在地省份
805
+ "city": "北京城区", // 所在地城市
806
+ "district": "东城区", // 所在地城区
807
+ "locationCode": "110101" // 所在地邮政编码
808
+}
809
+```
810
811
+响应体:
812
813
814
815
+ "code": 1, // 请求状态码,1为正常
816
+ "msg": "success" // 返回消息
817
818
0 commit comments