**默認為首頁 支持獲取作者頁面的文章鏈接**
**建議配合獲取360doc文章內容API使用**
**鏈接緩存 一個小時 **
~~~[api]
get:http://maffick.renpengpeng.com/api/get_doc_index_link_list
*string:appoint_url=http://360doc.com#可傳入作者頁面
*string:link_limit=0#獲取條數默認為所有
*string:is_rand=0#鏈接是否隨機打亂
<<<
success
{
"code":2000,
"msg":"請求成功",
"data":{
"appoint_url":"http:\/\/www.360doc.com\/index.html",
"links":[
"http:\/\/www.360doc.com\/content\/16\/0426\/12\/12607904_553914518.shtml",
"http:\/\/www.360doc.com\/content\/18\/1216\/00\/55631601_802219534.shtml",
"http:\/\/www.360doc.com\/content\/18\/1213\/10\/824077_801468733.shtml"
],
"count_num":366,
"limit_num":10,
"last_time":1545364801
}
}
<<<
error
~~~
### 傳入值說明
| 值 | 說明 |
| --- | --- |
| appoint_url | 可傳入自定義360doc的鏈接,提取當前頁的文章鏈接地址(默認為首頁) |
| link_limit | 返回多少條鏈接數量 |
| is_rand| 是否打亂鏈接順序 傳入0/1 |
### 返回值說明 (data內)
| 值 | 說明 |
| --- | --- |
|appoint_url | 當前提取url鏈接 |
| links| 鏈接 |
|count_num|總共的鏈接數量 |
|limit_num|本次提取的鏈接數量|
|last_time|鏈接最后緩存時間 |