## 文章详情接口
~~~[api]
get:/api/v1/article/detail
*int:id=2#文章内容ID必填
string:name= #文章名称
<<<
success
{
"msg": "获取成功!",
"url": "",
"data": {
"article": {
"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": 20,
"page_tpl": "",
"comment_status": "open",
"status": 1,
"file_id": 0,
"created_at": "2018-02-27 10:48:21",
"updated_at": "2018-05-04 10:48:38",
"deleted_at": ""
},
"category": {
"id": 1,
"uuid": "f7d711ad-ece3-a676-5690-603dbaa8b8fd",
"uid": 0,
"pid": "",
"title": "资讯",
"sort": 0,
"cover_id": "1212",
"name": "news",
"description": "新闻中心,包含有时政新闻、国内新闻、国际新闻、社会新闻、时事评论、新闻图片、新闻专题、新闻论坛、军事、历史、的专业时事报道门户网站。",
"count": 0,
"index_tpl": "article/index",
"lists_tpl": "article/lists",
"detail_tpl": "article/detail",
"page_num": 10,
"status": 1,
"type": "ARTICLE",
"created_at": "",
"updated_at": "2018-05-08 16:23:28",
"deleted_at": ""
},
"similar_articles": [
{
"id": 17,
"adminid": 6,
"uid": 0,
"category_id": 1,
"tags": "",
"uuid": "bbdb0292-1c67-4319-a2bd-c128472a795b",
"title": "未雨绸缪备工具,火灾现场显智勇",
"name": "",
"author": "",
"source": "",
"description": "",
"password": "",
"cover_id": "",
"pid": 0,
"level": 0,
"type": "ARTICLE",
"show_type": 3,
"position": 10,
"link": "",
"content": "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n<p><strong>迁安信息港消息:</strong>4月8日晚上7点28分左右,城管市容五中队执法队员在劝阻丰喜路不文明烧纸祭祀时,发现天洋广场东侧工地浓烟滚滚。</p>\n<p>根据以往多次救火经验,他们马上意识到这次火灾规模非常大。当机立断,现场的侯志超、岳文明、杨再忠、杨红阳四名队员迅速拿起车上准备好的铁锹等工具冲进工地围挡,飞奔灭火现场。</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180410/20180410141848_78180.jpg\" alt=\"\" /></p>\n<p align=\"center\">左至右分别是:杨再忠,杨红阳,侯志超,岳文明</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180410/20180410141904_16420.jpg\" alt=\"\" /></p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180410/20180410141915_03480.jpg\" alt=\"\" /></p>\n<p align=\"center\">救火现场</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180410/20180410141928_79700.jpg\" alt=\"\" /></p>\n<p align=\"center\">现场回照</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180410/20180410142020_98850.jpg\" alt=\"\" /></p>\n<p align=\"center\">巡逻车常备的灭火工具</p>\n<p>跑近后他们发现工地板房周边长满杂草,空气中弥漫荒草垃圾燃烧刺鼻的味道,风助火势越烧越旺,一旦蔓延后果将难以料想,为了避免造成财产损失。副中队侯志超组织一边拨打火警电话,一边先把工地板房周边火势控制住。</p>\n<p>队员们迅速挥锹铲土,展开灭火行动,队员们个个被烈火炽烤的满身大汗,不时被烟雾呛的咳嗽,但他们坚持在火灾第一线。经过一小时的紧张扑救,火苗终于扑灭了。为了防止死灰复燃,他们又观察半小时,经过反复查看,火苗彻底熄灭才放心离开。</p>\n<p>后据目测,此次过火面积约20亩,最近的着火点离工棚不足5米,如果不及时扑灭,将造成重大损失。</p>\n<p>据了解,目前我市城区空地火灾发生频繁,城管大队去年一年就参与救助各种火灾现场12次,今年仅近一个月来又救助火灾4次。为应对随时可能到来的灾情,市城管大队给每台巡逻车上都配备了铁锹、灭火器等救火工具。这些工具提升了救火效率,极大保障了财产安全。火灾多发的原因与春季天干物燥有关,也与人们不注意用火安全有关。城管大队提醒市民朋友朋友们,火灾无情,一定谨慎用火。</p>\n</body>\n</html>",
"comment": 0,
"view": 31,
"page_tpl": "",
"comment_status": "1",
"status": 1,
"file_id": 0,
"created_at": "2018-04-13 11:11:58",
"updated_at": "2018-05-14 11:38:36",
"deleted_at": "",
"cover_path0": "https://www.qa114.com/UploadFile/image/20180410/20180410141848_78180.jpg",
"cover_path1": "https://www.qa114.com/UploadFile/image/20180410/20180410141904_16420.jpg",
"cover_path2": "https://www.qa114.com/UploadFile/image/20180410/20180410141915_03480.jpg",
"cover_path3": "https://www.qa114.com/UploadFile/image/20180410/20180410141928_79700.jpg",
"cover_path4": "https://www.qa114.com/UploadFile/image/20180410/20180410142020_98850.jpg",
"video_path0": "https://www.qa114.com/UploadFile/image/20180410/20180410141848_78180.jpg",
"video_path1": "https://www.qa114.com/UploadFile/image/20180410/20180410141904_16420.jpg",
"video_path2": "https://www.qa114.com/UploadFile/image/20180410/20180410141915_03480.jpg",
"video_path3": "https://www.qa114.com/UploadFile/image/20180410/20180410141928_79700.jpg",
"video_path4": "https://www.qa114.com/UploadFile/image/20180410/20180410142020_98850.jpg"
},
{
"id": 16,
"adminid": 6,
"uid": 0,
"category_id": 1,
"tags": "",
"uuid": "7c78144a-a561-47ee-0daa-541d010623bd",
"title": "河北省网信办、唐山市委宣传部等领导莅临迁安信息港指导工作",
"name": "",
"author": "李娜",
"source": "",
"description": "",
"password": "",
"cover_id": "",
"pid": 0,
"level": 0,
"type": "ARTICLE",
"show_type": 4,
"position": 8,
"link": "",
"content": "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n<p><strong>迁安信息港消息:</strong>4月12日上午,河北省网信办、唐山市委宣传部、迁安市委宣传部领导到迁安信息港参观指导工作。</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180412/20180412160031_74960.jpg\" alt=\"\" /></p>\n<p>迁安信息港CEO倪小明对各位领导的到访及对迁安信息港的重视表示欢迎和感谢,在随后的座谈会上详细汇报了迁安信息港的运营情况,各位领导在参观了迁安信息港各部门的工作环境,了解了迁安信息港的运营情况后,对迁安信息港所做的工作给予了高度的评价,并表示,希望迁安信息港百尺竿头更进一步,在互联网发展的新时代扬帆远航,取得更大的发展。</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180412/20180412160048_55220.jpg\" alt=\"\" /></p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180412/20180412160100_45870.jpg\" alt=\"\" /></p>\n<p>迁安信息港创建于2006年,至今已12年。目前的迁安信息港已发展成为综合性新媒体,拥有门户网站、手机站、移动终端APP、微信公众平台等多种形式,为促进迁安互联网信息化建设、数字化建设、信息资讯的传播渠道建设提供了有力的技术支持。12年间,迁安信息港利用新媒体优势传递社会正能量,积极开展线上线下志愿服务活动,为需要帮助的迁安人提供帮助,送去温暖和关怀。12年间,迁安信息港用实际行动践行社会责任,通过自己的平台宣传社会真善美,对内服务百姓,对外宣传迁安。</p>\n<p>上级领导到迁安信息港参观指导,对迁安信息港既是肯定也是鞭策,迁安信息港将不负众望,继续做好正能量传播的窗口,服务百姓、宣传迁安!</p>\n</body>\n</html>",
"comment": 0,
"view": 3017,
"page_tpl": "",
"comment_status": "1",
"status": 1,
"file_id": 0,
"created_at": "2018-04-13 10:15:45",
"updated_at": "2018-05-14 10:52:10",
"deleted_at": "",
"cover_path0": "https://www.qa114.com/UploadFile/image/20180412/20180412160031_74960.jpg",
"cover_path1": "https://www.qa114.com/UploadFile/image/20180412/20180412160048_55220.jpg",
"cover_path2": "https://www.qa114.com/UploadFile/image/20180412/20180412160100_45870.jpg",
"video_path0": "https://www.qa114.com/UploadFile/image/20180412/20180412160031_74960.jpg",
"video_path1": "https://www.qa114.com/UploadFile/image/20180412/20180412160048_55220.jpg",
"video_path2": "https://www.qa114.com/UploadFile/image/20180412/20180412160100_45870.jpg"
},
{
"id": 13,
"adminid": 6,
"uid": 0,
"category_id": 1,
"tags": "",
"uuid": "222470d5-5e59-b137-1aaa-304be0367d68",
"title": "扣庄乡任庄村魏超账户多出20000元 他选择主动退还",
"name": "",
"author": "",
"source": "",
"description": "",
"password": "",
"cover_id": "",
"pid": 0,
"level": 0,
"type": "ARTICLE",
"show_type": 1,
"position": 10,
"link": "",
"content": "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n<p><strong>迁安信息港消息:</strong>手机收到银行发来的短信,点开一看,竟是20000元转款,遇到这样的事儿,您会怎么处理呢?昨天晚上海绵项目施工队的工人魏超就遇到了这样的“好事”,而他的第一反应却是“如何将这笔错转的钱归还”。</p>\n<p>目前,海绵城市创建工作正在加紧开展,家住扣庄乡任庄村的魏超也是每天早上六点多就赶到金水豪庭附近的工地上班。昨天忙了一天没顾上看手机,晚上到家吃完饭看到手机上显示,下午4点24分曾收到一条转账短信,一看不是小数目,足足20000元。“这个转账信息上的姓名我也不认识,再说也没有业务资金上的往来”,魏超心想,肯定是转错了,但是一时想不出将钱退回的办法,便向迁安信息港寻求帮助。</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329152942_96270.jpg\" alt=\"\" /></p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329153202_22200.png\" alt=\"\" /></p>\n<p>今天一大早,小编看到信息之后,就立即与魏超取得了联系。“当事人已经和我取得联系了,也把账号告诉我了,我今天中午抽出休息时间把钱退回去”,据魏超讲述,当时收到的短信上的名字也是姓魏,魏超笑着说:“居然是同姓,还是一家子”。</p>\n<p>在了解事情经过时,魏超一直说,“这没什么,不要报道,我昨天晚上联系你们,只是想通过你们找到转错钱的当事人,既然现在当事人已经联系上我了,我会尽快把20000块钱转过去,我想当事人应该也挺着急的”。</p>\n<p>下午2点左右,魏超给我们发来转账的小票,小票上显示,中午11点34分,魏超已经将20000元钱退还。</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329153130_75370.jpg\" alt=\"\" /></p>\n<p>“这不算事儿,千万不要报道”,这是他一再强调的事,他叫魏超,是海绵项目施工队的一名普通的工人,今年34岁。20000元钱面前,魏超的选择是主动寻找转错钱的当事人,并主动退还。他不仅仅为海绵城市建设贡献了力量,也在为文明城市的建设添砖加瓦!感谢魏超带给我们的正能量。</p>\n</body>\n</html>",
"comment": 4,
"view": 699,
"page_tpl": "",
"comment_status": "1",
"status": 1,
"file_id": 0,
"created_at": "2018-03-30 17:23:15",
"updated_at": "2018-05-08 08:38:00",
"deleted_at": "",
"cover_path0": "https://www.qa114.com/UploadFile/image/20180329/20180329152942_96270.jpg",
"cover_path1": "https://www.qa114.com/UploadFile/image/20180329/20180329153202_22200.png",
"cover_path2": "https://www.qa114.com/UploadFile/image/20180329/20180329153130_75370.jpg",
"video_path0": "https://www.qa114.com/UploadFile/image/20180329/20180329152942_96270.jpg",
"video_path1": "https://www.qa114.com/UploadFile/image/20180329/20180329153202_22200.png",
"video_path2": "https://www.qa114.com/UploadFile/image/20180329/20180329153130_75370.jpg"
},
{
"id": 10,
"adminid": 6,
"uid": 0,
"category_id": 1,
"tags": "",
"uuid": "ad313edc-f36c-8b60-e6d2-9b3506c21c8e",
"title": "春色满园关不住 切莫辣手把花摧",
"name": "",
"author": "",
"source": "",
"description": "",
"password": "",
"cover_id": "",
"pid": 0,
"level": 0,
"type": "ARTICLE",
"show_type": 3,
"position": 10,
"link": "",
"content": "<!DOCTYPE html>\n<html>\n<head>\n</head>\n<body>\n<p>烟花三月天</p>\n<p>正是桃红柳绿时</p>\n<p>公园里到处是春机盎然的景象</p>\n<p>满园春色</p>\n<p>群吐芬芳</p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329163404_53750.jpg\" alt=\"\" /></p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329163443_18200.jpg\" alt=\"\" /></p>\n<p>亲朋好友相约一起散步、郊游</p>\n<p>一阵阵清香扑鼻而来</p>\n<p>沁人心脾、令人陶醉</p>\n<p>多么惬意</p>\n<p><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329163455_77130.jpg\" alt=\"\" /></p>\n<p><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329163537_06180.jpg\" alt=\"\" /></p>\n<p> </p>\n<p><a href=\"http://mp.weixin.qq.com/s?__biz=MjM5MjAxNzMyNw==&mid=2650702473&idx=2&sn=895b3ba44ef43f9dbb980addbe7afd70&chksm=bea69c4989d1155fc08958d3e0303ce5b74af72e96f22454a0784d576a085d63ad28ce2226a2&scene=21#wechat_redirect\" target=\"_blank\" rel=\"noopener noreferrer\"> </a></p>\n<p>然而</p>\n<p>是谁破坏了这和谐?</p>\n<p><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329164113_91100.jpg\" alt=\"\" /></p>\n<p>折了花又丢弃在草丛里</p>\n<p>可不可惜?心不心疼?</p>\n<p> </p>\n<p align=\"center\"><img src=\"https://www.qa114.com/UploadFile/image/20180329/20180329164144_35840.jpg\" alt=\"\" /></p>\n<p>这是谁家娃?</p>\n<p>祖国的“花朵”摧残刚开的花朵—相煎何太急!</p>\n<p>大人呢?安全呢? </p>\n<p>对于折花者小编说:请各位成年朋友能以身作则,做文明好市民,</p>\n<p>保护好身边的美好,观赏花只可远观而不可亵玩焉。</p>\n</body>\n</html>",
"comment": 0,
"view": 13,
"page_tpl": "",
"comment_status": "1",
"status": 1,
"file_id": 0,
"created_at": "2018-03-30 17:21:19",
"updated_at": "2018-05-10 13:35:41",
"deleted_at": "",
"cover_path0": "https://www.qa114.com/UploadFile/image/20180329/20180329163404_53750.jpg",
"cover_path1": "https://www.qa114.com/UploadFile/image/20180329/20180329163443_18200.jpg",
"cover_path2": "https://www.qa114.com/UploadFile/image/20180329/20180329163455_77130.jpg",
"cover_path3": "https://www.qa114.com/UploadFile/image/20180329/20180329163537_06180.jpg",
"cover_path4": "https://www.qa114.com/UploadFile/image/20180329/20180329164113_91100.jpg",
"cover_path5": "https://www.qa114.com/UploadFile/image/20180329/20180329164144_35840.jpg",
"video_path0": "https://www.qa114.com/UploadFile/image/20180329/20180329163404_53750.jpg",
"video_path1": "https://www.qa114.com/UploadFile/image/20180329/20180329163443_18200.jpg",
"video_path2": "https://www.qa114.com/UploadFile/image/20180329/20180329163455_77130.jpg",
"video_path3": "https://www.qa114.com/UploadFile/image/20180329/20180329163537_06180.jpg",
"video_path4": "https://www.qa114.com/UploadFile/image/20180329/20180329164113_91100.jpg",
"video_path5": "https://www.qa114.com/UploadFile/image/20180329/20180329164144_35840.jpg"
}
]
},
"count": 0,
"status": "success"
}
<<<
error
{
"msg": "无此文章",
"url": "",
"status": "error"
}
~~~
- 序言
- 基础
- 安装
- 开发规范
- 目录结构
- 配置
- 标签
- 站点信息
- 导航列表
- 分类目录
- 文章列表
- 单页
- 商品列表
- 广告列表
- 友情链接
- 评论列表
- 相似文章列表
- 万能标签
- tag
- 视图
- 文章列表页
- 文章详情页
- 商品列表页
- 商品详情页
- 无限加载页
- 文件上传页
- 分页样式表
- API
- 注意事项
- V1
- 用户
- 用户登录
- 快捷登录
- 微信登录
- QQ登录
- 用户注册
- 注册验证字段
- 用户退出
- 重置密码
- 用户中心
- 用户资料
- 用户头像
- 用户名
- 用户昵称
- 用户密码
- 用户手机号
- 用户绑定微信
- 用户绑定QQ
- 用户邮箱
- 用户登录日志
- 文章
- 文章主题
- 文章列表
- 文章详情
- 文章评论列表
- 商品
- 商品主题
- 商品列表
- 商品详情
- 商品分类订单总金额
- sku获取订单分数及总金额
- 订单
- 订单列表
- 提交订单
- 订单信息
- 确认订单
- 取消订单
- 申请退款
- 获取邮费
- 支付
- 微信支付
- 支付宝支付
- 评论
- 评论列表
- 评论提交
- 评论删除
- 评论顶踩
- 其他
- 分类列表
- 广告列表
- 导航列表
- 爆料提交
- bug反馈
- 第三方登录是否开启
- 通用
- 图片上传
- 图片上传Base64
- 短信验证码
- 杂项
- 常见问题
- 微信接口
- 支付宝接口
- 邮箱接口
- 字典
- account_logs
- address
- admins
- attributes
- banner_categories
- banners
- categories
- comments
- configs
- files
- goods
- goods_pai_records
- goods_skus
- key_values
- links
- logs
- menus
- message_reads
- messages
- migrations
- model_has_permissions
- model_has_roles
- navigations
- notifications
- oauth_access_tokens
- oauth_auth_codes
- oauth_clients
- oauth_personal_access_clients
- oauth_refresh_tokens
- order_details
- orders
- password_resets
- permissions
- pictures
- posts
- promotions
- role_has_permissions
- roles
- shopping_carts
- sms
- users
- 知识库
- Linux下Git自动部署
- Windows下Git自动部署
- Linux下php7.1链接SqlServer
- 附录
- 辅助类