碳碳

碳中和


查询文章详情

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>用户注册接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>localhost:7004/article/getInfo/{id}</code></li> </ul> <h5>请求方式</h5> <ul> <li>get </li> </ul> <h5>参数</h5> <h5>返回示例</h5> <pre><code> { "status": 1, "msg": "操作成功", "code": "SUCCESS", "result": { "totalComment": 4, -- 评论数量 "commentPojoList": [ -- 评论列表 { "id": 2, "sourceId": 1, "type": 1, "commonId": null, "level": "1", "userId": 1, "toUser": null, "content": "真好", "status": 1, "createTime": null, "updateTime": null, "userName": "碳碳", "toUserName": null, "level2CommentPojo": [ { "id": 3, "sourceId": 1, "type": 1, "commonId": 2, "level": "2", "userId": 2, "toUser": 1, "content": "用户一你好啊", "status": 1, "createTime": null, "updateTime": null, "userName": "碳碳2", "toUserName": "碳碳" }, { "id": 4, "sourceId": 1, "type": 1, "commonId": 2, "level": "2", "userId": 3, "toUser": 2, "content": "用户二你好啊", "status": 1, "createTime": null, "updateTime": null, "userName": "碳碳3", "toUserName": "碳碳2" } ] }, { "id": 5, "sourceId": 1, "type": 1, "commonId": null, "level": "1", "userId": 1, "toUser": 4, "content": "真的是很好", "status": 1, "createTime": null, "updateTime": null, "userName": "碳碳", "toUserName": null, "level2CommentPojo": [] } ], "followFlag": true, -- 是否关注 "sameArtileList": [ -- 相似文章列表 { "id": 1, "articleAuth": 1, "backImg": "http://image.hrwallet.xyz/group1/M00/1D/A3/CjVtAWF3ZbuAY_nhAAEKL3XrS50281.png", "articleTitle": "这是碳碳", "articleContent": "这是碳碳", "mp4Link": null, "articleFrom": "中国人才网", "pulishTime": "2022-01-17T03:04:06.000+0000", "articleMark": "1,2", "articleType": 1, "createTime": "2022-01-17T03:04:15.000+0000", "updateTime": "2022-01-17T03:04:18.000+0000" } ], "article": { -- 文章详情 "id": 1, "articleAuth": 1, "backImg": "http://image.hrwallet.xyz/group1/M00/1D/A3/CjVtAWF3ZbuAY_nhAAEKL3XrS50281.png", "articleTitle": "这是碳碳", "articleContent": "这是碳碳", "mp4Link": null, "articleFrom": "中国人才网", "pulishTime": "2022-01-17T03:04:06.000+0000", "articleMark": "1,2", "articleType": 1, "createTime": "2022-01-17T03:04:15.000+0000", "updateTime": "2022-01-17T03:04:18.000+0000", "articleAuthName": "碳碳", "totalComment": null } } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML