>內容標識記錄
| 內容系統 | 標識名稱 |
| --- | --- |
| 文件系統 | helper |
| 商城系統 | goods |
| 課程系統 | curriculum |
| 課程章節 | chapter |
| 專欄系統 | special |
| 會員系統 | member |
| 會員組系統 | member_group |
| 講師系統 | lecturer |
| 活動 | activity |
| 評論 | comment |
| 簽到 | signed|
>講師申請添加章節
~~~[api]
get:/index.php/curriculum/Apicurriculum/member_submit_chapter
*int:courseid=1#課程id
*int:title=10#章節標題
*int:mediapath=1#上傳媒體文件
*string:content= #圖文信息
<<<
success
{
"err": 0,
"data":
{
"id": 10,
"title": "課程名稱",
"courseid": 10,
"content": "課程內容",
"sort": 1,
"status": 1,
"paytype": 1,
"point": [
{
"point_type": "money",
"point": 10,
"point_name": "人民幣",
"point_unit": "元"
}
]
}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~
>講師申請編輯章節
~~~[api]
get:/index.php/curriculum/Apicurriculum/member_chapter_edit
*int:courseid=1#課程id
*int:id=1#章節id
*int:title=10#章節標題
*int:mediapath=1#上傳媒體文件
*string:content= #圖文信息
<<<
success
{
"err": 0,
"data":
{
"id": 10,
"title": "課程名稱",
"courseid": 10,
"content": "課程內容",
"sort": 1,
"status": 1,
"paytype": 1,
"point": [
{
"point_type": "money",
"point": 10,
"point_name": "人民幣",
"point_unit": "元"
}
]
}
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~
>講師申請刪除章節
~~~[api]
get:/index.php/curriculum/Apicurriculum/member_chapter_del
*int:courseid=1#課程id
*int:id=1#章節id
<<<
success
{
"err": 0,
"data": { }
}
<<<
error
{
"err": 1,
"code": 1000,
"content": "錯誤信息"
}
~~~