💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
+++ post:v001/Society/home *varchar:token#签名 <<< 请求成功 { "data": { "society": [ { "sid": 20, "title": "测试标题", "comment": 3, "createtime": 2017-06-09 00:11:49, "nickname": "测试用户1", "avatar": "http://192.168.1.111:8083/avatar.png" }, { "sid": 19, "title": "测试标题", "comment": 0, "createtime": 2017-06-09 00:11:49, "nickname": "测试用户5", "avatar": "http://192.168.1.111:8083/avatar.png" }, { "sid": 18, "title": "测试标题", "comment": 0, "createtime": 2017-06-09 00:11:49, "nickname": "测试用户5", "avatar": "http://192.168.1.111:8083/avatar.png" } ], "question": [ { "total": "6", "correct": "6", "nickname": "测试用户2", "section": "某个部门", "avatar": "http://192.168.1.111:8083/avatar.png" }, { "total": "6", "correct": "1", "nickname": "测试用户1", "section": "某个部门", "avatar": "http://192.168.1.111:8083/avatar.png" } ] }, "code": 200, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ", "channel": "100086-59bf7148", "page":1 } } <<< 登录超时 { "data": { "message": "登录超时、请重新登录" }, "code": 300, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ" } } <<< 验证失败 { "data": { "message": "token不能为空" }, "code": 400, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "time": 1666666666, "content": { "token": "AThQY1U+AWUIYwBnUWUCb1w0AjAAZQ" } } +++ #### 请求成功 data['society']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | sid | 帖子ID | | | title | 帖子标题 | | | comment | 评论数量 | | | nickname | 用户昵称 | | | createtime | 发帖时间 | | | avatar | 用户头像 | | #### 请求成功 data['question']返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | total | 总题数 | | | correct | 正确题数 | | | nickname | 用户昵称 | | | avatar | 用户头像 | |