文档
测试

获取用户文章列表

GET
http://visitor.daoben.tech/api/article/getUserArticle?user_id=1

请求参数

参数名
类型
描述
必填
user_id
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:ok
必填
time
string
示例:1605247541
必填
data
object
数据字典
必填
total
int
示例:2
必填
per_page
int
示例:10
必填
current_page
int
示例:1
必填
last_page
int
示例:1
必填
data
array
数据列表
必填
id
int
示例:2
必填
user_id
int
示例:1
必填
content
string
示例:今天天气真好!!2333
必填
images
string
示例:/assets/img/qrcode.png,/assets/img/qrcode.png
必填
createtime
int
示例:1605245337
必填
updatetime
int
示例:1605245337
必填
lat
string
示例:
必填
lng
string
示例:
必填
choose_address
string
示例:河南郑州
必填
like_num
int
示例:0
必填
comment_num
int
示例:0
必填
user
object
数据字典
必填
id
int
示例:1
必填
nickname
string
示例:admin
必填
avatar
string
示例:data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxMDAiIHdpZHRoPSIxMDAiPjxyZWN0IGZpbGw9InJnYigxNjAsMTkwLDIyOSkiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48L3JlY3Q+PHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjUwIiB0ZXh0LWNvcHk9ImZhc3QiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIHRleHQtcmlnaHRzPSJhZG1pbiIgYWxpZ25tZW50LWJhc2V...
必填
birthday
string
示例:2017-04-15
必填
gender
int
示例:0
必填
url
string
示例:/u/1
必填