# 接口文档 ## 问答列表 ### 接口地址 problemList ### 参数 limit 0 page 1 ### 返回 ~~~ [ { id:1, user_id:1, title:'标题', hot:0, recommend_count:0,//评论数 useful_count:0,//有用计数 reward:0,//奖励 label:'',//标签 is_new:0, answer:{ id:1, nickname:'', avater:'', } } ] ~~~ ## 评论列表 ### 接口地址 problemRecommend ### 参数 limit 0 page 1 ### 返回 ~~~ [ list:[{ id:1, user_id:1, at_user_id:2,//被@用户 problem_id:1,//问答id text:'',//评论内容 }], user:[{ id:1, nickname:'', avater:'', }] ] ~~~ ## 评论 ### 接口地址 recommend ### 参数 problem_id 1 at_user_id 1 text ### 返回 ~~~ ~~~ ## 有用 ### 接口地址 useful ### 参数 problem_id 1 ### 返回 ~~~ ~~~ ## 提问 ### 接口地址 questioning ### 参数 title ### 返回 ~~~ ~~~ ## 回答 ### 接口地址 reply ### 参数 answer problem_id 1 ### 返回 ~~~ ~~~ ## 最新课程 ### 接口地址 newCourse ### 参数 ### 返回 ~~~ [ { id:1, cover:'',//封面 title:'标题', original_price:0, current_price:0, pay_count:0,//领取数量 one_level_label:0, tow_level_label:0, type:0,//类型 } ] ~~~ ## 课程排行 ### 接口地址 getCourseList ### 参数 ### 返回 ~~~ [ { id:1, cover:'',//封面 title:'标题', original_price:0, current_price:0, pay_count:0,//领取数量 one_level_label:0, tow_level_label:0, type:0,//类型 } ] ~~~ ## 猜你想学 ### 接口地址 getGuessList ### 参数 ### 返回 ~~~ [ { id:1, cover:'',//封面 title:'标题', original_price:0, current_price:0, pay_count:0,//领取数量 one_level_label:0, tow_level_label:0, type:0,//类型 } ] ~~~ ## 课程筛选 ### 接口地址 getCourseListByLabel ### 参数 one_label 1 tow_label 1 ### 返回 ~~~ [ { id:1, cover:'',//封面 title:'标题', original_price:0, current_price:0, pay_count:0,//领取数量 one_level_label:0, tow_level_label:0, type:0,//类型 } ] ~~~ ## 课程章节列表 ### 接口地址 getCourseChapter ### 参数 course_id 1 ### 返回 ~~~ [ { id:1, course_id:1,//课程id title:'标题', cover:'封面', content:'', type:0,//类型 } ] ~~~ ## 领取 ### 接口地址 receive ### 参数 course_id 1 ### 返回 ~~~ ~~~ ## 课程分类标签 ### 接口地址 labelList ### 参数 ### 返回 ~~~ [ { id:1, name:'', level:1, } ] ~~~