文档
测试

根据帖子id查询帖子详情和评论列表

POST
http://localhost:3000/api/web/post/detailAndComment

请求参数

参数名
类型
描述
必填
post_id
number
帖子id
必填

说明 / 示例

成功返回: ```json { "code": 200, "msg": "查询成功", "detail": { "id": 1, "account": "1", "nickname": "1", "user_image": "", "title": "234", "content": "asd ", "article_imgs": "asd", "create_date": "2021-04-23", "like_sum": 0, "comment_sum": 0 }, "comments": [ { "id": 1, "post_id": "1", "comments": "asd", "comment_imgs": "asd", "create_date": "2021-04-23", "comment_account": "1", "comment_nickname": "1", "comment_userimg": "" }, { "id": 2, "post_id": "1", "comments": "asd", "comment_imgs": "asd", "create_date": "2021-04-23", "comment_account": "1", "comment_nickname": "1", "comment_userimg": "" } ] } ```