|
|
|
@ -31,7 +31,6 @@ import org.springframework.web.bind.annotation.*;
|
|
|
|
|
import org.springframework.web.servlet.ModelAndView;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.NotNull;
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
|
|
import java.util.LinkedHashMap;
|
|
|
|
@ -224,7 +223,7 @@ public class TeacherOpenCourseQuestionLogController {
|
|
|
|
|
* @return
|
|
|
|
|
*/
|
|
|
|
|
@PostMapping(API + "/tuckByLogIds.do")
|
|
|
|
|
public JsonResult tuck(@NotBlank(message = "题目日志IDs不能为空!") String teacherOpenCourseQuestionLogIds, boolean isTuck, @SCoreUser CoreUser coreUser) {
|
|
|
|
|
public JsonResult tuck(String teacherOpenCourseQuestionLogIds, boolean isTuck, @SCoreUser CoreUser coreUser) {
|
|
|
|
|
Student student = getStudent();
|
|
|
|
|
Assert.notNull(student, "该接口只能学生操作!");
|
|
|
|
|
teacherOpenCourseQuestionLogService.tuckByLogIds(teacherOpenCourseQuestionLogIds, isTuck);
|
|
|
|
|