ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
+++ post:v001/Demand/detailed *varchar:token#签名 *int:did#需求ID <<< 请求成功 { "data": { "demand": { "did": 1, "title": "", "content": "嗯好吧", "view": 0, "comment": 0, "createtime": "2018-02-01 14:35:04", "nickname": "王叔叔", "avatar": "" }, "comment": [ { "content": "fasfasfasf", "createtime": "2018-04-04 16:43:45", "nickname": "王叔叔", "avatar": "" } ], "page": 1, "count": 1 }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "did": "1" } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "did": "1" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "did": "1" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "did": "1" } } +++ #### 请求成功 data['demand']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | did | 帖子ID | | | title | 标题 | | | content | 内容 | | | view | 浏览量 | | | comment | 评论数量 | | | nickname | 用户昵称 | | | avatar | 用户头像 | | #### 请求成功 data['comment']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | content | 内容 | | | createtime | 时间 | | | nickname | 用户昵称 | | | avatar | 用户头像 | |