文档
测试

根据username查询用户

POST
http://localhost:8080/api/search/name/{name}

响应参数

参数名
类型
描述
必填
accountInfo
object
数据字典
必填
id
int
示例:6
必填
nickname
string
示例:1
必填
displayNumber
int
示例:0
必填
background
object
示例:null
必填
avatar
object
示例:null
必填
fans
int
示例:0
必填
follows
int
示例:9
必填
medias
array
数据列表
必填
mediaId
object
示例:null
必填
mediaName
string
示例:wb
必填
content
string
示例:zzhh
必填
logoUrl
string
示例:weibo
必填
id
int
示例:1
必填

说明 / 示例

```json { "accountInfo": { "id": 6, "nickname": "1", "displayNumber": 0, "background": null, "avatar": null, "fans": 0, "follows": 9 }, "medias": [ { "mediaId": null, "mediaName": "wb", "content": "zzhh", "logoUrl": "weibo", "id": 1 }, { "mediaId": null, "mediaName": "zh", "content": "wwbb", "logoUrl": "zhihu", "id": 2 } ] } ```