文章详情(完)
POST
http://{{address}}/api/blog/post
请求参数
参数名
类型
描述
必填
slug
string
示例:tjsc01
必填
响应参数
参数名
类型
描述
必填
status
int
示例:1
必填
msg
string
示例:操作成功
必填
id
int
示例:5
必填
user_id
int
示例:2
必填
title
string
标题。示例:推荐-说车01
必填
slug
string
示例:tjsc01
必填
excerpt
string
示例:这里是摘录
必填
content
string
示例:说车的文章,再勾选推荐。可在推荐列表里也显示
必填
content_html
string
示例:<p>说车的文章,再勾选推荐。可在推荐列表里也显示</p>
必填
published_at
string
发布时间。示例:2020-08-17 00:00:00
必填
published
int
示例:1
必填
created_at
string
示例:2020-08-17 11:14:25
必填
updated_at
string
示例:2020-08-17 15:50:11
必填
metadata
object
示例:null
必填
read_num
int
阅读量。示例:102
必填
zan_num
int
点赞量。示例:120
必填
summary
string
简介。示例:这里是摘录
必填
has_summary
boolean
示例:true
必填
id
int
示例:2
必填
first_name
string
示例:
必填
last_name
string
示例:
必填
login
string
示例:admin
必填
email
string
示例:admin@qq.com
必填
permissions
string
示例:
必填
is_activated
boolean
示例:false
必填
role_id
int
示例:3
必填
activated_at
object
示例:null
必填
last_login
string
示例:2020-07-28 21:44:09
必填
created_at
string
示例:2020-07-21 17:32:36
必填
updated_at
string
示例:2020-07-28 21:44:09
必填
deleted_at
object
示例:null
必填
is_superuser
int
示例:0
必填