File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ export const sidebarZh: SidebarConfig = {
1616 collapsible : true ,
1717 children : [
1818 '/develop/user/model.md' ,
19+ '/develop/user/get.md' ,
1920 '/develop/user/info.md' ,
2021 ] ,
2122 } ,
Original file line number Diff line number Diff line change 1+ # 获取用户头像等信息
2+
3+ ### 接口
4+
5+ GET ` https://api.hduhelp.com/user/get `
6+
7+ ### 功能描述
8+
9+ 用于获取用户头像等信息。
10+
11+ ### Content-Type
12+
13+ ` application/json `
14+
15+ ### 返回字段
16+
17+ | 字段名 | 类型 | 描述 |
18+ | --------| ---------| --------------|
19+ | nick | string | 用户昵称(预留字段) |
20+ | avatar | string | 用户头像地址(预留字段) |
21+
22+ ### 示例
23+ ``` json
24+ {
25+ "error" : 0 ,
26+ "msg" : " success" ,
27+ "data" : {
28+ "nick" : " 助手用户" ,
29+ "avatar" : " https://cinnamon.hduhelp.com/default_avatar.jpg"
30+ },
31+ "cache" : false
32+ }
33+ ```
You can’t perform that action at this time.
0 commit comments