# 參數:array
| 字段名 | 說明|
| --- | --- |
| category_id | 分類id |
| parent_id | 父級id |
| model | 模塊 product \| article \| page
| row | 數量 |
| parent_id | 父級id |
| child | 是否帶有child (布爾類型) |
# 返回值:array
| 字段名 | 說明|
| --- | --- |
| id | id
| parent_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
- 序言
- 初始化
- 開發說明
- main.php
- connectProvider例子
- dedecms
- wordpress
- provider.php
- 方法說明
- getCategories獲得分類列表
- getPosts獲得數據列表
- getProducts獲得產品列表
- getArticles獲得文章列表
- getArticle獲得文章詳情
- getProduct獲得產品詳情
- getPages獲得單頁列表
- getPage獲得單頁詳情
- getComments獲得評論列表
- saveComment新增/修改評論
- commentAttitude點贊或反對評論
- getParams獲得擴展字段
- getMapping獲得sitemap
- getSiteMapIndex獲得sitemapIndex