26bbf89b660727898860092842304b37.json
2.02 KB
{"ast":null,"code":"import axios from 'axios';\nconst hostMath = \"http://ai.natmal.com:7070\";\nexport const checkQno = qno => axios.get(`${hostMath}/checkQno?qno=${qno}`);\nexport const saveFileAndQno = formData => {\n return axios({\n method: 'post',\n url: '/upload/html',\n data: formData,\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n });\n};\nexport const getData = (user, pageSize, currentPage, orderWhat, orderKind) => axios.post('/tikzs', {\n user,\n pageSize,\n currentPage,\n orderWhat,\n orderKind\n});","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/src/lib/api/html.js"],"names":["axios","hostMath","checkQno","qno","get","saveFileAndQno","formData","method","url","data","headers","getData","user","pageSize","currentPage","orderWhat","orderKind","post"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AACA,MAAMC,QAAQ,GAAG,2BAAjB;AAEA,OAAO,MAAMC,QAAQ,GAAIC,GAAD,IAASH,KAAK,CAACI,GAAN,CAAW,GAAEH,QAAS,iBAAgBE,GAAI,EAA1C,CAA1B;AAEP,OAAO,MAAME,cAAc,GAAIC,QAAD,IAC9B;AACE,SAAON,KAAK,CAAC;AACXO,IAAAA,MAAM,EAAE,MADG;AAEXC,IAAAA,GAAG,EAAE,cAFM;AAGXC,IAAAA,IAAI,EAAEH,QAHK;AAIXI,IAAAA,OAAO,EAAE;AACL,sBAAgB;AADX;AAJE,GAAD,CAAZ;AAQD,CAVM;AAYP,OAAO,MAAMC,OAAO,GAAG,CAACC,IAAD,EAAOC,QAAP,EAAiBC,WAAjB,EAA6BC,SAA7B,EAAuCC,SAAvC,KAAqDhB,KAAK,CAACiB,IAAN,CAAW,QAAX,EAAoB;AAACL,EAAAA,IAAD;AAAOC,EAAAA,QAAP;AAAiBC,EAAAA,WAAjB;AAA6BC,EAAAA,SAA7B;AAAuCC,EAAAA;AAAvC,CAApB,CAArE","sourcesContent":["import axios from 'axios';\r\nconst hostMath = \"http://ai.natmal.com:7070\";\r\n\r\nexport const checkQno = (qno) => axios.get(`${hostMath}/checkQno?qno=${qno}`);\r\n\r\nexport const saveFileAndQno = (formData) => \r\n{\r\n return axios({\r\n method: 'post',\r\n url: '/upload/html',\r\n data: formData,\r\n headers: {\r\n 'Content-Type': 'multipart/form-data',\r\n },\r\n });\r\n}\r\n\r\nexport const getData = (user, pageSize, currentPage,orderWhat,orderKind) => axios.post('/tikzs',{user, pageSize, currentPage,orderWhat,orderKind});\r\n\r\n"]},"metadata":{},"sourceType":"module"}