course.js 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. polyvSign(data) {
  6. return myRequest({
  7. url: '/polyv/video/sign/auth',
  8. method: 'get',
  9. data: data
  10. })
  11. },
  12. recordLast(data) {
  13. return myRequest({
  14. url: '/study/record/last',
  15. method: 'get',
  16. data: data
  17. })
  18. },
  19. menuExamList(data) {
  20. return myRequest({
  21. url: '/course/menu/exam/list',
  22. method: 'get',
  23. data: data
  24. })
  25. },
  26. reSectionList(data) {
  27. return myRequest({
  28. url: '/course/sectionList',
  29. method: 'get',
  30. data: data
  31. })
  32. },
  33. reChapterList(data) {
  34. return myRequest({
  35. url: '/course/chapterList',
  36. method: 'get',
  37. data: data
  38. })
  39. },
  40. appBeforeAddress(data) {
  41. return myRequest({
  42. url: '/app/before/address',
  43. method: 'get',
  44. data: data
  45. })
  46. },
  47. reMenuList(data) {
  48. return myRequest({
  49. url: '/course/menuList',
  50. method: 'get',
  51. data: data
  52. })
  53. },
  54. menuList(data) {
  55. return myRequest({
  56. url: '/app/common/course/menuList',
  57. method: 'get',
  58. data: data,
  59. noToken: true
  60. })
  61. },
  62. chapterList(data) {
  63. return myRequest({
  64. url: '/app/common/course/chapterList/'+data,
  65. method: 'get',
  66. data: data,
  67. noToken: true
  68. })
  69. },
  70. sectionList(data) {
  71. return myRequest({
  72. url: '/app/common/course/sectionList/'+data,
  73. method: 'get',
  74. data: data,
  75. noToken: true
  76. })
  77. },
  78. courseGoodsList(data) {
  79. return myRequest({
  80. url: '/course/goodsList',
  81. method: 'get',
  82. data: data
  83. })
  84. },
  85. courseCourseList(data) {
  86. return myRequest({
  87. url: '/course/courseList',
  88. method: 'get',
  89. data: data
  90. })
  91. },
  92. courseDetail(data) {
  93. return myRequest({
  94. url: '/course/'+data,
  95. method: 'get'
  96. })
  97. },
  98. courseBusiness(data) {
  99. return myRequest({
  100. url: '/app/common/course/business/'+data,
  101. method: 'get',
  102. noToken:true
  103. })
  104. },
  105. courseHandouts(data) {
  106. return myRequest({
  107. url: '/course/handouts/'+data,
  108. method: 'get'
  109. })
  110. },
  111. courseGoodsRebuildStatus(data) {
  112. return myRequest({
  113. url: '/course/goodsRebuildStatus',
  114. method: 'get',
  115. data:data
  116. })
  117. },
  118. faceCertificationIDCardOCR(data) {
  119. return myRequest({
  120. url: '/face/certification/IDCardOCR',
  121. method: 'post',
  122. data:data
  123. })
  124. },
  125. facCertificationImageRecognition(data) {
  126. return myRequest({
  127. url: '/face/certification/ImageRecognition',
  128. method: 'post',
  129. data:data
  130. })
  131. },
  132. faceCertificationIdCardCompareFace(data) {
  133. return myRequest({
  134. url: '/face/certification/idCardCompareFace',
  135. method: 'post',
  136. data:data
  137. })
  138. },
  139. faceCertificationCompareFace(data) {
  140. return myRequest({
  141. url: '/face/certification/CompareFace',
  142. method: 'post',
  143. data:data
  144. })
  145. },
  146. gradeCheckGoodsStudy(data) {
  147. return myRequest({
  148. url: '/grade/grade/checkGoodsStudy',
  149. method: 'get',
  150. data:data
  151. })
  152. },
  153. polyvLiveHistoryChatMsgList(data) {
  154. return myRequest({
  155. url: '/polyv/live/historyChatMsgList',
  156. method: 'get',
  157. data:data
  158. })
  159. },
  160. studyRecordQueryLiveLast(data) {
  161. return myRequest({
  162. url: '/study/record/queryLiveLast',
  163. method: 'get',
  164. data:data
  165. })
  166. },
  167. courseMajorList (data) {
  168. return myRequest({
  169. url: '/course/major/list',
  170. method: 'get',
  171. data:data
  172. })
  173. },
  174. // 学习中心的直播课列表
  175. getgoodsLiveList (data) {
  176. return myRequest({
  177. url: '/goods/getLiveList',
  178. method: 'get',
  179. data:data
  180. })
  181. },
  182. }