多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
>关注某个内容 ~~~[api] post:/index.php/follow/Apifollow/member_submit *string:sign_name=curriculum#记录的内容标识 *int:sign_id=1#关注内容的id,如果sign为product表示产品的id,sign为curriculum表示课程的id <<< success { "err": 0, "data": { "id": 10, "sign": "product", "sign_id": 10, "sign_info": { "sign": "产品", "title": "产品名称", "describe": "描述", "thumb": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", }, "userinfo": { "id": 10, "name": "小怪兽123", "headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png" } } } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >获取关注列表 ~~~[api] get:/index.php/follow/Apifollow/getList *string:sign_name=curriculum#记录的内容标识 *int:sign_id=1#关注内容的id,如果sign为product表示产品的id,sign为curriculum表示课程的id int:pagesize=10#每页显示个数 int:page=1#显示页码数 string:sort= id #排序字段 string:sort_type= asc#排序类型 <<< success { "err": 0, "page": 1, "pageTotal": 10, "pageSize": 10, "follow_total_count": 10, "count": 1, "data": [ { "id": 10, "name": "小怪兽123", "headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png" } ] } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~ >获取当前登录会员点赞列表 ~~~[api] get:/index.php/follow/Apifollow/member_getList string:sign_name=curriculum#记录的内容标识 int:sign_id=1#评论内容的id,如果sign为product表示产品的id,sign为curriculum表示课程的id int:pagesize=10#每页显示个数 int:page=1#显示页码数 string:sort= id #排序字段 string:sort_type= asc#排序类型 <<< success { "err": 0, "page": 1, "pageTotal": 10, "pageSize": 10, "count": 1, "data": [ { "id": 10, "addtime": 12345678910, "sign": "product", "sign_id": 10, "sign_info": { "sign": "产品", "title": "产品名称", "describe": "描述", "thumb": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png", }, "userinfo": { "id": 10, "name": "小怪兽123", "headPath": "http://open.cowcms.com/Public/css_js_font_img/plugg/img/logo.png" } } ] } <<< error { "err": 1, "code": 1000, "content": "错误信息" } ~~~