v1

latestSwagger 2.02026-07-17361040.7 KB
前台-内容

创建回复

客户端AJAX提交,客户端

post/content/do-create

Request body

briefstring

摘要

categoryIdinteger

栏目ID

contentstring

内容

refererstring

内容来源,例如github/gitee

tagsstring[]

标签名称列表,以JSON存储

thumbstring

缩略图

titlestring

标题

typestring

内容模型

Response

请求结果

codeinteger

错误码((0:成功, 1:失败, >1:错误码))

dataobject

返回数据(业务接口定义具体数据结构)

messagestring

提示信息

redirectstring

引导客户端跳转到指定路由