企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
>讲师申请提交 ~~~[api] post:/index.php/curriculum/Apilecturer/member_submit_lecturer *string:nickname= #讲师名字 *string:mobile= #讲师手机号 *string:province= #讲师身份证号 string:province_positive= #讲师身份证正面 string:thumb= #讲师缩略图 string:tags= #讲师标签 string:content= #图文介绍 <<< success { "err": 0, "data": { "id": 10, "nickname": "讲师名称", "mobile": 123345656, "status": 0, //审核状态 0 未审核 2 通过 3驳回 "province": "身份证号", "province_positive": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "province_back": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "tags": [ ], "content": "图文信息" } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >讲师编辑 ~~~[api] post:/index.php/curriculum/Apilecturer/member_lecturer_edit *int:id= 1#讲师id *string:nickname= #讲师名字 *string:mobile= #讲师手机号 *string:province= #讲师身份证号 string:province_positive= #讲师身份证正面 string:thumb= #讲师缩略图 string:tags= #讲师标签 string:content= #图文介绍 <<< success { "err": 0, "data": { "id": 10, "nickname": "讲师名称", "mobile": 123345656, "status": 0, //审核状态 0 未审核 2 通过 3驳回 "province": "身份证号", "province_positive": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "province_back": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "tags": [ ], "content": "图文信息" } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >获取当前登录用户讲师列表 ~~~[api] get:/index.php/helper/Apihelper/member_lecturer_list int:pagesize=10#每页显示个数 int:page=1#显示页码数 string:status=0|2|3 #审核状态 不传为全部 0 未审核 2 通过 3驳回 string:keyword= #检索的关键字 string:sort= id #排序字段 string:sort_type= asc#排序类型 <<< success { "err": 0, "page": 1, "pageTotal": 10, "pageSize": 10, "count": 1, "data": [ { "id": 10, "nickname": "讲师名称", "mobile": 123345656, "status": 0, //审核状态 0 未审核 2 通过 3驳回 "tags": [ ], } ] } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >获取当前登录用户讲师列表,用在下拉列表 ~~~[api] get:/index.php/helper/Apihelper/member_lecturer_list string:sort= id #排序字段 string:sort_type= asc#排序类型 <<< success { "err": 0, "count": 1, "data": [ { "id": 10, "nickname": "讲师名称", "mobile": 123345656, } ] } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >获取某个讲师信息 ~~~[api] post:/index.php/curriculum/Apilecturer/member_lecturer_getInfo *int:id= 1#讲师id <<< success { "err": 0, "data": { "id": 10, "nickname": "讲师名称", "mobile": 123345656, "status": 0, //审核状态 0 未审核 2 通过 3驳回 "province": "身份证号", "province_positive": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "province_back": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "tags": [ ], "content": "图文信息", "msg": "审核意见", } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >讲师删除 ~~~[api] post:/index.php/curriculum/Apilecturer/member_lecturer_del *int:id= 1#讲师id <<< success { "err": 0, "data": { } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~