>内容标识记录
| 内容系统 | 标识名称 |
| --- | --- |
| 文件系统 | 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": "错误信息"
}
~~~