123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507 |
- import { myRequest } from "../request.js";
- export default {
- goodsList(data) {
- return myRequest({
- url: "/app/common/goods/list",
- method: "get",
- data: data,
- noToken: true,
- });
- },
- actGoodsList(data) {
- return myRequest({
- url: "/app/common/goods/share/list/" + data,
- method: "get",
- noToken: true,
- });
- },
- fxGoodsList(data) {
- return myRequest({
- url: "/app/common/goods/goods/list/" + data,
- method: "get",
- noToken: true,
- });
- },
- commonSystemTime() {
- return myRequest({
- url: "/app/common/system/dict/data/sys/time",
- method: "get",
- noToken: true,
- });
- },
- commonGoodsDetail(data) {
- return myRequest({
- url: "/app/common/goods/" + data,
- method: "get",
- noToken: true,
- });
- },
- fxGoodsDetail(data) {
- return myRequest({
- url: "/app/common/goods/distribution/goods",
- method: "get",
- noToken: true,
- data: data,
- });
- },
- // 校验商品状态
- checkGoodsStatus(data) {
- return myRequest({
- url: "/goods/check/goods/status",
- method: "post",
- data,
- });
- },
- goodsBank(data) {
- return myRequest({
- url: "/goods/bank/list",
- method: "get",
- data: data,
- });
- },
- // goodsBank(data) {
- // return myRequest({
- // url: '/goods/bank/list',
- // method: 'get',
- // data: data,
- // })
- // },
- bankExamExamList(data) {
- return myRequest({
- url: "/bank/exam/exam/list",
- method: "get",
- data: data,
- });
- },
- goodsDetail(data) {
- return myRequest({
- url: "/goods/" + data,
- method: "get",
- });
- },
- goodsCourseList(data) {
- return myRequest({
- url: "/app/common/goods/course/list/" + data,
- method: "get",
- noToken: true,
- });
- },
- // 获取双师制
- getGoodsCourseTeacher(data) {
- return myRequest({
- url: "/app/common/course/teacher/list",
- method: "get",
- data: data,
- noToken: true,
- });
- },
- collectQuestion(data) {
- return myRequest({
- url: "/collect/question",
- data: data,
- method: "POST",
- });
- },
- bankRecordEdit(data) {
- return myRequest({
- url: "/bank/record/edit",
- data: data,
- method: "POST",
- });
- },
- bankReportData(data) {
- return myRequest({
- url: "/bank/record/" + data,
- method: "get",
- });
- },
- deleteCollectQuestion(data) {
- return myRequest({
- url: "/collect/question/delete/" + data,
- method: "POST",
- });
- },
- examRecord(data) {
- return myRequest({
- url: "/exam/record",
- data: data,
- method: "POST",
- });
- },
- examRecordRightList(data) {
- return myRequest({
- url: "/exam/record/right_list",
- data: data,
- method: "GET",
- });
- },
- examRecordWrongList(data) {
- return myRequest({
- url: "/exam/record/wrong_list",
- data: data,
- method: "GET",
- });
- },
- bankRecord(data) {
- return myRequest({
- url: "/bank/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",
- });
- },
- goodsBankQuestionNum(data) {
- return myRequest({
- url: "/goods/bank/questionNum/" + data,
- method: "get",
- });
- },
- bankExamNextExam(data) {
- return myRequest({
- url: "/bank/exam/nextExam",
- data: data,
- method: "get",
- });
- },
- examReport(data) {
- return myRequest({
- url: "/exam/record/" + data,
- method: "get",
- });
- },
- // 随机练习
- bankTempReport(data) {
- return myRequest({
- url: "/bank/exam/temp/" + data,
- method: "get",
- });
- },
- examRecordCount(data) {
- return myRequest({
- url: "/exam/record/count",
- data: data,
- method: "GET",
- });
- },
- examaperList(data) {
- return myRequest({
- url: "/exam/paper/list",
- data: data,
- method: "GET",
- });
- },
- examRecordList(data) {
- return myRequest({
- url: "/exam/record/list",
- data: data,
- method: "GET",
- });
- },
- examRecordGroupList(data) {
- return myRequest({
- url: "/exam/record/group_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",
- });
- },
- bankRecordDoNum(data) {
- return myRequest({
- url: "/bank/record/doNum",
- 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,
- });
- },
- examWrongRecordWrongNum(data) {
- return myRequest({
- url: `/exam/wwrong/record/wrongNum`,
- method: "get",
- data,
- });
- },
- collectQuestionExamQuestionList(data) {
- return myRequest({
- url: `/collect/question/exam_question_list`,
- method: "get",
- data: data,
- });
- },
- bankExam(data) {
- return myRequest({
- url: "/bank/exam/" + data,
- method: "get",
- });
- },
- goodsCollectExamList(data) {
- return myRequest({
- url: "/collect/question/exam_list",
- method: "get",
- data: data,
- });
- },
- goodsBankDolist(data) {
- return myRequest({
- url: "/goods/bank/dolist",
- method: "get",
- data: data,
- });
- },
- goodsChapterDolist(data) {
- return myRequest({
- url: "/goods/chapter/dolist",
- method: "get",
- data: data,
- });
- },
- goodsExamDolist(data) {
- return myRequest({
- url: "/goods/exam/dolist",
- 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,
- });
- },
- // 获得所有视频列表
- studyRecordMenuAllList(data) {
- return myRequest({
- url: "/study/record/menuAllList",
- method: "get",
- data: data,
- });
- },
- // 获得所有视频+考试列表
- studMenuAllList(data) {
- return myRequest({
- url: "/study/record/menuAllListWithExam",
- method: "get",
- data: data,
- });
- },
- goodsTodayStudySectionNum(data) {
- return myRequest({
- url: "/goods/todayStudySectionNum",
- method: "get",
- data: data,
- });
- },
- goodsQuestionList(data) {
- return myRequest({
- url: "/app/common/bank/question/list",
- method: "get",
- data: data,
- noToken: true,
- });
- },
- // 随机组题题目列表
- goodsRandomQuestionList(data) {
- return myRequest({
- url: "/bank/exam/simulate",
- method: "post",
- data,
- });
- },
- // 随时练习解析
- goodsQuestionTempList(data) {
- return myRequest({
- url: "/app/common/bank/question/temp/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",
- });
- },
- bankQuestionListFreeGoodsList(data) {
- return myRequest({
- url: "/bank/question/listFreeGoodsList",
- method: "get",
- data: data,
- });
- },
- appCommonGoodsCourseModuleFreeExamList(data) {
- return myRequest({
- url: "/app/common/goods/course/moduleFreeExamList/" + data,
- method: "get",
- noToken: true,
- });
- },
- goodsLivingSectionList(data) {
- return myRequest({
- url: "/goods/livingSectionList",
- method: "get",
- data: data,
- });
- },
- // 查询用户拥有免费+自购题库商品
- listUserFreeUnionBuyGoodsList(data) {
- return myRequest({
- url: "/bank/question/listUserFreeUnionBuyGoodsList",
- method: "get",
- data: data,
- });
- },
- };
|