chapter.js 751 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //查询课程大章列表
  6. coursechapterlist(data) {
  7. return myRequest({
  8. url: '/app/common/course/chapter/list',
  9. method: 'get',
  10. data: data,
  11. noToken:true
  12. })
  13. },
  14. //获取课程大章详细信息
  15. coursechapter(data) {
  16. return myRequest({
  17. url: '/app/common/course/chapter/' + data,
  18. method: 'get',
  19. noToken: true
  20. })
  21. },
  22. //查询课程小节列表
  23. coursesectionlist(data) {
  24. return myRequest({
  25. url:'/app/common/course/section/list',
  26. method: 'get',
  27. data: data,
  28. noToken:true
  29. })
  30. },
  31. //获取课程小节详细信息
  32. coursesection(data) {
  33. return myRequest({
  34. url: '/app/common/course/section/' + data,
  35. method: 'get',
  36. noToken: true
  37. })
  38. },
  39. }