🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
>专栏列表 ~~~[api] get:/index.php/curriculum/Apispecial/getList int:pagesize=10#每页显示个数 int:page=1#显示页码数 string:between_price= #价格区间 如100-200 string:keyword= #检索的关键字 string:sort= id #排序字段 string:sort_type= asc#排序类型 int:promote= #是否推广 <<< success { "err": 0, "page": 1, "pageTotal": 10, "pageSize": 10, "count": 1, "data": [ { "id": 10, "title": "专栏标题", "status": 1, "thumb": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "videopath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.mp3", "price": 100, "market_price": 150, "group_price": 150, "vipprice": [ { "group_id": 1, "group_name": "VIP1", "price": 10 } ], "deductionpoint": [ { "point_type": "money", "point_name": "人民币", "point": 20 } ], "curriculum_num": 4, "buy_num": 380, "addtime": 12345678910, "starttime": 123456678910, "endtime": 123456789, "courselist": [10, 13, 15, 14 ] } ] } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >专栏详情信息 ~~~[api] get:/index.php/curriculum/Apispecial/getInfo *int:id=1#专栏id <<< success { "err": 0, "data": { "id": 10, "status": 1, "title": "专栏标题", "thumb": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", "videopath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.mp3", "price": 100, "market_price": 150, "group_price": 150, "vipprice": [ { "group_id": 1, "group_name": "VIP1", "price": 10 } ], "deductionpoint": [ { "point_type": "money", "point_name": "人民币", "point": 20 } ], "buy_num": 380, "addtime": 12345678910, "starttime": 123456678910, "endtime": 123456789, "content": "专栏内容", "curriculum_num": 1, } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~