123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- import {
- myRequest
- } from '../request.js'
- export default {
- goodsList(data) {
- return myRequest({
- url: '/app/common/goods/list',
- method: 'get',
- data: data,
- noToken: true
- })
- },
- commonGoodsDetail(data) {
- return myRequest({
- url: '/app/common/goods/'+ data,
- method: 'get',
- noToken: true
- })
- },
- goodsDetail(data) {
- return myRequest({
- url: '/goods/'+ data,
- method: 'get'
- })
- },
- goodsCourseList(data) {
- return myRequest({
- url: '/app/common/goods/course/list/'+ data,
- method: 'get',
- noToken: true
- })
- },
- collectQuestion(data) {
- return myRequest({
- url: '/collect/question',
- data:data,
- method: 'POST'
- })
- },
-
- deleteCollectQuestion(data) {
- return myRequest({
- url: '/collect/question/delete/'+data,
- method: 'POST',
- })
- },
- examRecord(data) {
- return myRequest({
- url: '/exam/record',
- data:data,
- method: 'POST',
- })
- },
-
- examWrongRecord(data) {
- return myRequest({
- url: '/exam/wwrong/record',
- data:data,
- method: 'POST',
- })
- },
-
- examRecordEdit(data) {
- return myRequest({
- url: '/exam/record/edit',
- data:data,
- method: 'POST',
- })
- },
-
- examaperList(data) {
- return myRequest({
- url: '/exam/paper/list',
- data:data,
- method: 'GET',
- })
- },
-
- examRecordList(data) {
- return myRequest({
- url: '/exam/record/list',
- data:data,
- method: 'GET',
- })
- },
-
- collectQuestionTypeList(data) {
- return myRequest({
- url: '/collect/question/type_list',
- data:data,
- method: 'GET',
- })
- },
-
- wrongRecordTypeQuestionList(data) {
- return myRequest({
- url: '/exam/wwrong/record/type_question_list',
- data:data,
- method: 'GET',
- })
- },
-
- wrongRecordTypeList(data) {
- return myRequest({
- url: '/exam/wwrong/record/type_list',
- data:data,
- method: 'GET',
- })
- },
- listGoodsUserQuestion(data) {
- return myRequest({
- url: '/bank/question/listGoodsUserQuestion',
- data:data,
- method: 'get'
- })
- },
- getCollectInfo(data) {
- return myRequest({
- url: '/collect/question/getInfo',
- data:data,
- method: 'get'
- })
- },
-
- goodsBankList(data) {
- return myRequest({
- url: '/app/common/bank/list',
- method: 'get',
- data:data,
- noToken: true
- })
- },
-
- wrongRecordList(data) {
- return myRequest({
- url: '/exam/wwrong/record/list',
- method: 'get',
- data:data
- })
- },
-
-
-
- goodsChapterList(data) {
- return myRequest({
- url: '/app/common/bank/chapter/list',
- method: 'get',
- data:data,
- noToken: true
- })
- },
- wrongRecordExamQuestionList(data) {
- return myRequest({
- url: '/exam/wwrong/record/exam_question_list',
- method: 'get',
- data:data,
- })
- },
-
- wrongRecordDelete(data) {
- return myRequest({
- url: '/exam/wwrong/record/delete/question',
- method: 'post',
- data:data
- })
- },
-
- goodsCollectExamList(data) {
- return myRequest({
- url: '/collect/question/exam_list',
- method: 'get',
- data:data
- })
- },
-
- goodsCollectList(data) {
- return myRequest({
- url: '/collect/question/list',
- method: 'get',
- data:data
- })
- },
-
- goodsExamList(data) {
- return myRequest({
- url: '/app/common/bank/exam/list',
- method: 'get',
- data:data,
- noToken: true
- })
- },
-
- goodsQuestionList(data) {
- return myRequest({
- url: '/app/common/bank/question/list',
- method: 'get',
- data:data,
- noToken: true
- })
- },
-
-
- addCart(data) {
- return myRequest({
- url: '/base/cart',
- method: 'post',
- data: data
- })
- },
- cartList(data) {
- return myRequest({
- url: '/base/cart/list',
- method: 'get',
- data: data
- })
- },
-
- questionRecordList(data) {
- return myRequest({
- url: '/bank/question/record/list',
- method: 'get',
- data: data
- })
- },
-
-
- deleteCart(data) {
- return myRequest({
- url: '/base/cart/delete/'+data,
- method: 'post',
- data: data
- })
- }
- }
|