| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120 |
- import {
- myRequest
- } from '../request.js'
- export default {
- //新增收藏课程
- coursecollect(data) {
- return myRequest({
- url: '/collect/course',
- method: 'post',
- data: data,
- })
- },
- //删除收藏课程
- deletecoursecollect(data) {
- return myRequest({
- url: '/collect/course/delete/' + data,
- method: 'post',
- })
- },
- //判断是否收藏课程
- coursecollectPD(data) {
- return myRequest({
- url: '/collect/course/' + data,
- method: 'get',
- })
- },
- //查询收藏课程列表
- courseCollectList(data) {
- return myRequest({
- url: '/collect/course/list',
- method: 'get',
- data: data,
- })
- },
- //新增收藏题库
- bankCollectsadd(data) {
- return myRequest({
- url: '/collect/bank',
- method: 'post',
- data: data,
- })
- },
- //删除收藏题库
- bankCollectdelete(data) {
- return myRequest({
- url: '/collect/bank/delete/' + data,
- method: 'post',
- })
- },
- //查询收藏题库列表
- bankCollectList(data) {
- return myRequest({
- url: '/collect/bank/list',
- method: 'get',
- data: data,
- })
- },
- //判断是否收藏题库
- bankCollects(data) {
- return myRequest({
- url: '/collect/bank/' + data,
- method: 'get',
- })
- },
- //查询收藏重点列表
- courseNoteList(data) {
- return myRequest({
- url: '/collect/note/list',
- method: 'get',
- data: data,
- })
- },
-
- //新增收藏题目
- questionsystemadd(data) {
- return myRequest({
- url: '/system/question',
- method: 'post',
- data: data,
- })
- },
- //删除收藏题目
- questionsystemdelete(data) {
- return myRequest({
- url: '/system/question/delete/' + data,
- method: 'post',
- })
- },
- //查询收藏题目列表
- systemquestionList(data) {
- return myRequest({
- url: '/system/question/list',
- method: 'get',
- data: data,
- })
- },
- //获取收藏题目详细信息
- questionsystems(data) {
- return myRequest({
- url: '/system/question/' + data,
- method: 'get',
- })
- },
-
- //查询用户错题历史列表
- questionListrecord(data) {
- return myRequest({
- url: '/bank/question/record/list',
- method: 'get',
- data: data,
- })
- },
- }
|