123456789101112131415161718192021 |
- import axios from 'axios';
- import config from '@api/config.js';
- const urls = config.urls;
- export default {
- getQuestionList(param){
- return axios.post(urls.questionList,param);
- },
- questionAdd(param){
- return axios.post(urls.questionAdd,param);
- },
- questionSearch(param){
- return axios.post(urls.questionSearch,param);
- },
- getPreTypeList(){
- return axios.post(urls.preTypeList,{});
- },
- questionDel(param){
- return axios.post(urls.questionDel,param);
- }
- }
|