多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
## 新闻列表 ~~~[api] get:/api/v1/article/index int:id= #文章分类id string:name=news#文章分类名 *int:page=1#分页页码 *int:limit=10#分页数量 string:search= #搜索内容 int:position=1#推荐位(参数说明1:首页推荐,2:频道推荐,3:列表推荐,4:详情推荐) date:date= #日期(参数说明:必须为“2018-03-26”这样的格式) string:source= #来源1:原创,2:转载 <<< success { "msg": { "articles": [ {c "id": 3, "adminid": 1, "uid": 0, "category_id": 1, "tags": "开发文档,帮助文件", "uuid": "a2b61100-f4f1-1c90-f1d0-dc7acb78b787", "title": "开发文档", "name": "help", "author": "tangtanglove", "source": "本站", "description": "软件开发文档是软件开发使用和维护过程中的必备资料。它能提高软件开发的效率,保证软件的质量,而且在软件的使用过程中有指导,帮助,解惑的作用,尤其在维护工作中,文档是不可或缺的资料。", "password": "", "cover_id": "", "pid": 0, "level": 0, "type": "ARTICLE", "show_type": 3, "position": 0, "link": "", "content": "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n<p>https://www.kancloud.cn/tangtanglove/easyadmin/435582</p>\n</body>\n</html>", "comment": 0, "view": 0, "page_tpl": "", "comment_status": "2", "status": 1, "file_id": 0, "created_at": "2018-02-27 10:48:21", "updated_at": "2018-02-27 10:52:43", "deleted_at": "" }, { "id": 2, "adminid": 1, "uid": 0, "category_id": 1, "tags": "使用说明,配置手册", "uuid": "5fbe9a75-de73-9dbb-f01c-bd3c08581730", "title": "使用说明", "name": "doc", "author": "tangtanglove", "source": "本站", "description": "说明书多种多样,说明书的写作格式也不拘一格,不可一概而论。本文将举出一些常见的说明书的具体例子,以期使读者对此有一明确的认识。", "password": "", "cover_id": "", "pid": 0, "level": 0, "type": "ARTICLE", "show_type": 1, "position": 0, "link": "", "content": "https://www.kancloud.cn/tangtanglove/easyadmin/435582", "comment": 0, "view": 0, "page_tpl": "", "comment_status": "open", "status": 1, "file_id": 0, "created_at": "2018-02-27 10:48:21", "updated_at": "2018-02-27 10:48:21", "deleted_at": "" }, { "id": 1, "adminid": 1, "uid": 0, "category_id": 1, "tags": "默认文章,你好世界!", "uuid": "05cff4ad-6b3c-f32c-54ae-b0d584ec1ad4", "title": "你好,世界!", "name": "hello", "author": "tangtanglove", "source": "本站", "description": "Hello, world”程序是指在计算机屏幕上输出“Hello,world”这行字符串的计算机程序,“hello, world”的中文意思是“你好,世界。”。这个例程在Brian Kernighan 和Dennis M. Ritchie合著的《The C Programme Language》使用而广泛流行。", "password": "", "cover_id": "", "pid": 0, "level": 0, "type": "ARTICLE", "show_type": 1, "position": 1, "link": "", "content": "“Hello, world”程序是指在计算机屏幕上输出“Hello,world”这行字符串的计算机程序,“hello, world”的中文意思是“你好,世界。”。这个例程在Brian Kernighan 和Dennis M. Ritchie合著的《The C Programme Language》使用而广泛流行。因为它的简洁,实用,并包含了一个该版本的C程序首次出现在1974年Brian Kernighan所撰写的《Programming in C: A Tutorial》", "comment": 0, "view": 3, "page_tpl": "", "comment_status": "open", "status": 1, "file_id": 0, "created_at": "2018-02-27 10:48:21", "updated_at": "2018-03-13 08:50:55", "deleted_at": "" } ] }, "url": "", "data": "", "count": 0, "status": "success" } <<< error { "msg": "无此分类", "url": "", "status": "error" } ~~~