# 參數:array
| 字段名 | 說明|
| --- | --- |
| id | 單頁id |
# 返回值: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]]
| comment_total | 評論數量 |
| relations | 相關單頁列表 array
| prev | 上一篇文章 array |
| next | 下一篇文章 array |
- 序言
- 初始化
- 開發說明
- main.php
- connectProvider例子
- dedecms
- wordpress
- provider.php
- 方法說明
- getCategories獲得分類列表
- getPosts獲得數據列表
- getProducts獲得產品列表
- getArticles獲得文章列表
- getArticle獲得文章詳情
- getProduct獲得產品詳情
- getPages獲得單頁列表
- getPage獲得單頁詳情
- getComments獲得評論列表
- saveComment新增/修改評論
- commentAttitude點贊或反對評論
- getParams獲得擴展字段
- getMapping獲得sitemap
- getSiteMapIndex獲得sitemapIndex