文档
测试

话题添加

POST
http://localhost:8080/community//topic/add

请求参数

参数名
类型
描述
必填
title
string
示例:话题标题
必填
titleClolr
string
示例:标题颜色
必填
titleLable
string
示例:标题标签
必填
titleLableColor
string
示例:标题标签背景颜色
必填
content
string
示例:富文本内容
必填
pictureUrl
string
示例:列表图片
必填
overTime
string
示例:下架时间
必填
route
string
示例:跳转链接
必填

响应参数

参数名
类型
描述
必填
success
boolean
示例:true
必填
responseCode
string
示例:100000
必填
message
string
示例:运行正确
必填
result
object
示例:null
必填
args
object
示例:null
必填
success
boolean
示例:true
必填
responseCode
string
示例:2000022
必填
message
string
示例:非法请求
必填
result
object
示例:null
必填
args
object
示例:null
必填

说明 / 示例

{ "success": true, "responseCode": "100000", "message": "运行正确", "result": null, "args": null } { "success": true, "responseCode": "1000010", "message": "标题不能重复", "result": null, "args": null }