mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/per-boe/java-servers.git
synced 2025-12-12 04:16:51 +08:00
增加了课程学习主页初始化数据的接口
This commit is contained in:
@@ -143,9 +143,7 @@ public class StudyCourseApi extends ApiBaseController{
|
|||||||
return error("无课程信息");
|
return error("无课程信息");
|
||||||
}
|
}
|
||||||
String aid=getCurrent().getAccountId();
|
String aid=getCurrent().getAccountId();
|
||||||
StudyCourse sc=service.findByCourseIdAndAid(id, aid);
|
//StudyCourse sc=service.findByCourseIdAndAid(id, aid);
|
||||||
|
|
||||||
|
|
||||||
Map<String,Object> rs=new HashMap<String,Object>();
|
Map<String,Object> rs=new HashMap<String,Object>();
|
||||||
Course course=courseService.getAddView(id);
|
Course course=courseService.getAddView(id);
|
||||||
if(course==null || course.getDeleted()){
|
if(course==null || course.getDeleted()){
|
||||||
|
|||||||
Reference in New Issue
Block a user