myStudent.js 735 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //确认重学
  6. courseperiodrebuild(data) {
  7. return myRequest({
  8. url: '/course/period/rebuild',
  9. method: 'post',
  10. data: data
  11. })
  12. },
  13. //查看班级作弊重学详细情况
  14. getcourseperiodcheat(data) {
  15. return myRequest({
  16. url: '/course/period/cheat',
  17. method: 'get',
  18. data: data
  19. })
  20. },
  21. //查询用户拥有商品的学时记录
  22. getcourseperiodlistGoods(data) {
  23. return myRequest({
  24. url: '/course/period/listGoods',
  25. method: 'get',
  26. data: data
  27. })
  28. },
  29. /**
  30. * @param {Object} data
  31. * 查询用户证书列表
  32. */
  33. getUserCertificateList(data) {
  34. return myRequest({
  35. url: '/user/certificate/list',
  36. method: 'get',
  37. data: data
  38. })
  39. },
  40. }