搜索内容
POST
https://yuer.guojimami.com/apibase/keywordsSearch
接口描述
搜索返回的字段 根据搜索类型 是不同的
请求参数
参数名
类型
描述
必填
user_id
int
示例:10 用户id 非必填 未登录也可以搜索
必填
keywords
string
示例:师 搜索的关键词
必填
type
int
示例:4 1:帖子 2:知识 3:话题 4:用户
必填
page
int
示例:1 分页
必填
响应参数
参数名
类型
描述
必填
page_count
int
示例:1
必填
code
string
示例:200
必填
status
string
示例:ok
必填
msg
string
示例:获取成功
必填
ta_user_id
string
示例:8
必填
fans
string
示例:0
必填
community
string
示例:1
必填
name
string
示例:国妈护理师
必填
photo
string
示例:https://m.guojimami.com/data/sq_user_photos/1594230267896643414.jpg
必填
certificat_icon
string
示例:https://m.guojimami.com/data/sq_certificat/1594238389196585403.png
必填
status
string
示例:
必填
is_attention
int
示例:0
必填
empty
object
示例:null
必填
page_count
int
示例:1
必填