企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
+++ post:v001/Society/detailed *varchar:token#签名 *int:sid#帖子ID <<< 请求成功 { "data": { "society": { "sid": 1, "title": "测试标题", "images": "", "content": "Hello World ", "comment": 3, "createtime": "2017-06-09 00:12:12", "nickname": "测试用户1", "avatar": "http://192.168.1.111:8083/avatar.png" }, "comment": [ { "content": "偶像哦。。", "createtime": "2017-06-09 00:11:49", "nickname": "测试用户1", "avatar": "http://192.168.1.111:8083/avatar.png" }, { "content": "很喜欢你的曲风", "createtime": "2017-06-09 00:12:12", "nickname": "测试用户1", "avatar": "http://192.168.1.111:8083/avatar.png" } ], "page": "1", "count": 3 }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "sid":1 } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "sid":1 } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "sid":1 } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "sid":1 } } +++ #### 请求成功 data['society']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | sid | 帖子ID | | | title | 标题 | | | content | 内容 | | | comment | 评论数量 | | | nickname | 用户昵称 | | | avatar | 用户头像 | | #### 请求成功 data['comment']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | content | 内容 | | | createtime | 时间 | | | nickname | 用户昵称 | | | avatar | 用户头像 | |