@Controller public class LessonController extends Object
| 构造器和说明 |
|---|
LessonController() |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getLessonCacheListIOSJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Long lessonId,
Long userId,
org.springframework.ui.ModelMap model) |
String |
getLessonCacheListJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Long lessonId,
org.springframework.ui.ModelMap model) |
String |
getLessonIntroIOSJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Long lessonId,
Long userId,
org.springframework.ui.ModelMap model) |
String |
getLessonPeriodListJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Long lessonId,
Long userId,
Integer page,
Integer size,
org.springframework.ui.ModelMap model) |
String |
getTaskFirst(Long lessonId,
org.springframework.ui.ModelMap model) |
Map<Long,Integer> |
getUserTaskProgressMap(Long userId,
List<Long> taskIds) |
com.ptteng.academy.course.model.Unit |
getVideoUnit(Long lessonId) |
String |
searchContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
String searchWords,
Integer searchType)
搜索单个标签内容接口
|
@RequestMapping(value="/a/lesson/period/list/{lessonId}",
method=GET)
public String getLessonPeriodListJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
Long lessonId,
Long userId,
Integer page,
Integer size,
org.springframework.ui.ModelMap model)
@RequestMapping(value="/a/u/lesson/cache/list/{lessonId}",
method=GET)
public String getLessonCacheListJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
Long lessonId,
org.springframework.ui.ModelMap model)
@RequestMapping(value="/a/lesson/cache/list/{lessonId}",
method=GET)
public String getLessonCacheListIOSJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
Long lessonId,
Long userId,
org.springframework.ui.ModelMap model)
public Map<Long,Integer> getUserTaskProgressMap(Long userId, List<Long> taskIds) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException, NoSuchFieldException, IllegalAccessException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoExceptionNoSuchFieldExceptionIllegalAccessException@RequestMapping(value="/a/lesson/introduction/{lessonId}",
method=GET)
public String getLessonIntroIOSJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
@PathVariable
Long lessonId,
Long userId,
org.springframework.ui.ModelMap model)
public com.ptteng.academy.course.model.Unit getVideoUnit(Long lessonId) throws com.gemantic.common.exception.ServiceException, com.gemantic.common.exception.ServiceDaoException
com.gemantic.common.exception.ServiceExceptioncom.gemantic.common.exception.ServiceDaoException@RequestMapping(value="/a/lesson/period/task/{lessonId}",
method=GET)
public String getTaskFirst(@PathVariable
Long lessonId,
org.springframework.ui.ModelMap model)
@RequestMapping(value="/a/u/search",
method=GET)
public String searchContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.ui.ModelMap model,
Integer page,
Integer size,
String searchWords,
Integer searchType)
throws Exception
searchWords - searchType - ExceptionCopyright © 2018. All rights reserved.