| | |
| | | import com.qxueyou.scc.teach.subject.model.Subject; |
| | | import org.apache.commons.lang3.StringUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import com.qxueyou.scc.admin.progress.model.Progress; |
| | | import com.qxueyou.scc.admin.progress.service.IProgressService; |
| | |
| | | */ |
| | | @Api(tags = "课件管理-管理员端") |
| | | @RestController |
| | | @CrossOrigin(origins="*",maxAge=3600) |
| | | @RequestMapping(value = "teach/courseware") |
| | | public class CoursewareController { |
| | | |
| | |
| | | return new Result(true, "success", |
| | | CollectionUtils.newObjectMap("coursewareLst", |
| | | QBeanUtils.listBean2ListMap(lectures, |
| | | CollectionUtils.newStringMap("name", "name", "lectureId", "id", "lectureType", "type", |
| | | CollectionUtils.newStringMap("lectureId","lectureId","name", "name", "resItemId", "id", "lectureType", "type", |
| | | "chapterId", "chapterId", "status", "status", "updateTime", "updateTime")), |
| | | "count", lectureCount)); |
| | | |