+++
get:/news/info?id=:id&catid=:catid
*:id=2388996#新聞id
*:catid=519#欄目id
<<<
success
{
"success": true,
"data": {
"id": "2388996",
"catid": "519",
"typeid": "0",
"title": "白露節氣陰氣漸重養生之道重在養肺 白露養生飲食推薦",
"style": "",
"thumb": "/uploadfile/2016/0904/1472981457199284.jpg",
"keywords": "白露 養生 ",
"description": "二十四節氣之白露節氣,所謂“陰氣漸重,凌而為露,故名白露”,白露節氣氣溫開始下降,天氣轉涼,早晨草木上有了露水。白露是九月的頭一個節氣。",
"posids": "0",
"url": "http://www.jsjznews.com/html/yangsheng/2388996_1.html",
"listorder": "0",
"status": "99",
"sysadd": "1",
"islink": "0",
"username": "duweiyi",
"author": "佚名",
"duty_author": "杜維一",
"inputtime": "1472983019",
"updatetime": "1472982444",
"wzxbtitle": "",
"like": "0", //點贊數量
"comment": "0", //評論數量
"content": "內容",
"readpoint": "0",
"groupids_view": "",
"paginationtype": "2",
"maxcharperpage": "10000",
"template": "",
"paytype": "0",
"relation": "",
"voteid": "0",
"allow_comment": "1",
"copyfrom": "http://www.jsjznews.com/|302",
"fbtitle": "白露節氣陰氣漸重養生之道重在養肺 白露養生飲食推薦",
"_likes": [ //點贊人員列表 默認10個 如想要全部 請調取點贊文章列表
{
"like_id": "2",
"uid": "1",
"username": "cuijun",
"time": "2016-10-21 10:27:08",
"content_id": "1",
"comment_id": "0",
"position_type": "1",
"catid": "536",
"head_img": "http://www.lrb_api.com/uploads/head_img/1_58082c3272b50.jpg"
}
]
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "Sign簽名驗證失敗",
"code": 0,
"status": 401,
"type": "yii\\web\\HttpException"
}
}
+++
### header頭信息:
| 參數名 | 參數值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |
注意:
**存在緩存 默認緩存時間為30秒**