776e74f4e57fa8eb25332fbf7c3bd6c2.json
1.79 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 console.log(formData);\n return axios({\n method: 'post',\n url: '/upload/math',\n data: formData,\n headers: {\n 'Content-Type': 'multipart/form-data'\n }\n });\n}; //export const getMathData = (user, pageSize, currentPage,orderWhat) => axios.post('/tikzs',{user, pageSize, currentPage,ordeWhat});","map":{"version":3,"sources":["C:/Users/kkwan_000/Desktop/git/2017110269/minsung/src/lib/api/mathCha.js"],"names":["axios","hostMath","checkQno","qno","get","saveFileAndQno","formData","console","log","method","url","data","headers"],"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;AACP,OAAO,MAAME,cAAc,GAAIC,QAAD,IAC9B;AACEC,EAAAA,OAAO,CAACC,GAAR,CAAYF,QAAZ;AACA,SAAON,KAAK,CAAC;AACXS,IAAAA,MAAM,EAAE,MADG;AAEXC,IAAAA,GAAG,EAAE,cAFM;AAGXC,IAAAA,IAAI,EAAEL,QAHK;AAIXM,IAAAA,OAAO,EAAE;AACL,sBAAgB;AADX;AAJE,GAAD,CAAZ;AAQD,CAXM,C,CAaP","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\nexport const saveFileAndQno = (formData) => \r\n{\r\n console.log(formData);\r\n return axios({\r\n method: 'post',\r\n url: '/upload/math',\r\n data: formData,\r\n headers: {\r\n 'Content-Type': 'multipart/form-data',\r\n },\r\n });\r\n}\r\n\r\n//export const getMathData = (user, pageSize, currentPage,orderWhat) => axios.post('/tikzs',{user, pageSize, currentPage,ordeWhat});\r\n\r\n\r\n"]},"metadata":{},"sourceType":"module"}