🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
#### 列表 ~~~[api] get:/admin/article/audit/index number:isAudit=0#是否审核,0=>未审核,1=>审核通过,2=>审核驳回 number:p=1#当前页数 number:ps=20#分页大小 <<< success { "code": 1, "msg": "", "time": "2018-06-11 00:33:57", "data": [ { "id": 1, "cate_id": 1, "created_id": 1, "updated_id": 1, "auditd_id": 1, "identity": 1, "title": "帮助文章", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "banner": "a:1:{i:0;s:53:\"http://oss.dgyouduo.com/static/img/no-image-16x10.png\";}", "summary": "", "author": "", "source_name": "", "source_url": "", "view_count": 0, "sort": 0, "is_audit": 0, "status": 1, "created_at": "2018-06-10 14:19:02", "updated_at": "2018-06-10 17:59:54", "auditd_at": "2018-06-10 17:59:54", "category": { "id": 1, "parent_id": 0, "parent_id_path": "0_1", "level": 1, "identity": 1, "name": "使用帮助", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "sort": 0, "status": 1, "created_at": "2018-06-09 14:42:37", "updated_at": "2018-06-10 14:24:25", "status_text": "正常" }, "is_audit_text": "未审核", "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 20 } } ~~~ #### 通过 ~~~[api] post:/admin/article/audit/approved/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-01-12 20:55:58", "data": [] } ~~~ #### 批量通过 ~~~[api] post:/admin/article/audit/approveds *array:ids#ID集合 <<< success { "code": 1, "msg": "success", "time": "2018-01-12 20:55:58", "data": [] } <<< example { "ids": [1, 2] } ~~~ #### 驳回 ~~~[api] post:/admin/article/audit/rejected/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-01-13 12:59:34", "data": [] } ~~~ #### 批量驳回 ~~~[api] post:/admin/article/audit/rejecteds *array:ids#ID集合 <<< success { "code": 1, "msg": "success", "time": "2018-01-12 20:55:58", "data": [] } <<< example { "ids": [1, 2] } ~~~ #### 日志 ~~~[api] get:/admin/article/audit/log number:p=1#当前页数 number:ps=20#分页大小 <<< success { "code": 1, "msg": "", "time": "2018-06-10 21:21:22", "data": [ { "id": 1, "article_id": 1, "admin_id": 1, "operate": 1, "status": 1, "created_at": "2018-06-10 17:56:57", "updated_at": "2018-06-10 17:56:57", "article": { "id": 1, "title": "帮助文章", "is_audit": 2, "status": 1, "is_audit_text": "审核驳回", "status_text": "正常" }, "admin": { "id": 1, "username": "admin", "mobile": "18666868868", "sort": 0, "status": 1, "created_at": "2016-01-01 00:00:00", "updated_at": "2018-06-09 12:42:25", "status_text": "正常" }, "operate_text": "审核通过", "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 20 } } ~~~ #### 日志删除 ~~~[api] post:/admin/article/audit/logDelete/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-01-13 20:28:44", "data": [] } ~~~ #### 日志批量删除 ~~~[api] post:/admin/article/audit/logDeletes *array:ids#ID集合 <<< success { "code": 1, "msg": "success", "time": "2018-01-13 20:28:44", "data": [] } <<< example { "ids": [1, 2] } ~~~