# 參數:array
| 字段名 | 說明|
| --- | --- |
| category_id | 分類id |
| model | 模塊 product \| article \| page
| page | 頁數 int |
| row | 條數 int |
| order | 正倒序 string asc \| desc |
| orderby | 排序方式 string hot \| click \| sort \| pubdate\| id \| near \| last \| rand |
| 篩選條件 | 篩選條件 |
| startTime | 開始時間(timestamp) int |
| endTime | 結束時間(timestamp) int |
| sudDay | 天數 int |
| keyword | 關鍵詞 string |
| ids | 指定id列表 1,2,3,4 |
# 返回值:array
| 字段名 | 說明|
| --- | --- |
| id | id
| parent_id | 父級id int
| category_id | 父級id int
| title | 標題 string
| content | 內容 string
| seo_title | seo標題 string
| keywords | seo關鍵字 string
| description | seo描述 string
| status | 狀態 int 0 \| 1
| sort | 排序 int
| logo | logo string
| views | 點擊數 int
| model | 模塊 product \| article \| page
| add_time | 添加時間(timestamp) int
| author | 作者 string
| params | 參數 array [[name=>value,name=>value]]
- 序言
- 初始化
- 開發說明
- main.php
- connectProvider例子
- dedecms
- wordpress
- provider.php
- 方法說明
- getCategories獲得分類列表
- getPosts獲得數據列表
- getProducts獲得產品列表
- getArticles獲得文章列表
- getArticle獲得文章詳情
- getProduct獲得產品詳情
- getPages獲得單頁列表
- getPage獲得單頁詳情
- getComments獲得評論列表
- saveComment新增/修改評論
- commentAttitude點贊或反對評論
- getParams獲得擴展字段
- getMapping獲得sitemap
- getSiteMapIndex獲得sitemapIndex