cc761c915a30f6c968e64ab047f4a6cc.json 4.5 KB

1
  1. {"remainingRequest":"D:\\jiayue\\pig-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\jiayue\\pig-ui\\src\\api\\admin\\log.js","dependencies":[{"path":"D:\\jiayue\\pig-ui\\src\\api\\admin\\log.js","mtime":1619070292863},{"path":"D:\\jiayue\\pig-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jiayue\\pig-ui\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000}],"contextDependencies":[],"result":["/*\r\n * Copyright (c) 2018-2025, lengleng All rights reserved.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions are met:\r\n *\r\n * Redistributions of source code must retain the above copyright notice,\r\n * this list of conditions and the following disclaimer.\r\n * Redistributions in binary form must reproduce the above copyright\r\n * notice, this list of conditions and the following disclaimer in the\r\n * documentation and/or other materials provided with the distribution.\r\n * Neither the name of the pig4cloud.com developer nor the names of its\r\n * contributors may be used to endorse or promote products derived from\r\n * this software without specific prior written permission.\r\n * Author: lengleng (wangiegie@gmail.com)\r\n */\nimport request from '@/router/axios';\nexport function fetchList(query) {\n return request({\n url: '/admin/log/page',\n method: 'get',\n params: query\n });\n}\nexport function delObj(id) {\n return request({\n url: '/admin/log/' + id,\n method: 'delete'\n });\n}\nexport function addObj(obj) {\n return request({\n url: '/admin/log',\n method: 'post',\n data: obj\n });\n}\nexport function getObj(id) {\n return request({\n url: '/admin/log/' + id,\n method: 'get'\n });\n}\nexport function putObj(obj) {\n return request({\n url: '/admin/log',\n method: 'put',\n data: obj\n });\n}",{"version":3,"sources":["D:/jiayue/pig-ui/src/api/admin/log.js"],"names":["request","fetchList","query","url","method","params","delObj","id","addObj","obj","data","getObj","putObj"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA,OAAOA,OAAP,MAAoB,gBAApB;AAEA,OAAO,SAASC,SAAT,CAAoBC,KAApB,EAA2B;AAChC,SAAOF,OAAO,CAAC;AACbG,IAAAA,GAAG,EAAE,iBADQ;AAEbC,IAAAA,MAAM,EAAE,KAFK;AAGbC,IAAAA,MAAM,EAAEH;AAHK,GAAD,CAAd;AAKD;AAED,OAAO,SAASI,MAAT,CAAiBC,EAAjB,EAAqB;AAC1B,SAAOP,OAAO,CAAC;AACbG,IAAAA,GAAG,EAAE,gBAAgBI,EADR;AAEbH,IAAAA,MAAM,EAAE;AAFK,GAAD,CAAd;AAID;AAED,OAAO,SAASI,MAAT,CAAiBC,GAAjB,EAAsB;AAC3B,SAAOT,OAAO,CAAC;AACbG,IAAAA,GAAG,EAAE,YADQ;AAEbC,IAAAA,MAAM,EAAE,MAFK;AAGbM,IAAAA,IAAI,EAAED;AAHO,GAAD,CAAd;AAKD;AAED,OAAO,SAASE,MAAT,CAAiBJ,EAAjB,EAAqB;AAC1B,SAAOP,OAAO,CAAC;AACbG,IAAAA,GAAG,EAAE,gBAAgBI,EADR;AAEbH,IAAAA,MAAM,EAAE;AAFK,GAAD,CAAd;AAID;AAED,OAAO,SAASQ,MAAT,CAAiBH,GAAjB,EAAsB;AAC3B,SAAOT,OAAO,CAAC;AACbG,IAAAA,GAAG,EAAE,YADQ;AAEbC,IAAAA,MAAM,EAAE,KAFK;AAGbM,IAAAA,IAAI,EAAED;AAHO,GAAD,CAAd;AAKD","sourcesContent":["/*\r\n * Copyright (c) 2018-2025, lengleng All rights reserved.\r\n *\r\n * Redistribution and use in source and binary forms, with or without\r\n * modification, are permitted provided that the following conditions are met:\r\n *\r\n * Redistributions of source code must retain the above copyright notice,\r\n * this list of conditions and the following disclaimer.\r\n * Redistributions in binary form must reproduce the above copyright\r\n * notice, this list of conditions and the following disclaimer in the\r\n * documentation and/or other materials provided with the distribution.\r\n * Neither the name of the pig4cloud.com developer nor the names of its\r\n * contributors may be used to endorse or promote products derived from\r\n * this software without specific prior written permission.\r\n * Author: lengleng (wangiegie@gmail.com)\r\n */\r\n\r\nimport request from '@/router/axios'\r\n\r\nexport function fetchList (query) {\r\n return request({\r\n url: '/admin/log/page',\r\n method: 'get',\r\n params: query\r\n })\r\n}\r\n\r\nexport function delObj (id) {\r\n return request({\r\n url: '/admin/log/' + id,\r\n method: 'delete'\r\n })\r\n}\r\n\r\nexport function addObj (obj) {\r\n return request({\r\n url: '/admin/log',\r\n method: 'post',\r\n data: obj\r\n })\r\n}\r\n\r\nexport function getObj (id) {\r\n return request({\r\n url: '/admin/log/' + id,\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function putObj (obj) {\r\n return request({\r\n url: '/admin/log',\r\n method: 'put',\r\n data: obj\r\n })\r\n}\r\n\r\n"]}]}