b15f35a3474cd7cd831b43a4ba12b3b2.json 5.2 KB

1
  1. {"remainingRequest":"D:\\jiayue\\cemp-ui\\node_modules\\babel-loader\\lib\\index.js!D:\\jiayue\\cemp-ui\\src\\api\\admin\\menu.js","dependencies":[{"path":"D:\\jiayue\\cemp-ui\\src\\api\\admin\\menu.js","mtime":1619070292863},{"path":"D:\\jiayue\\cemp-ui\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jiayue\\cemp-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 getMenu(id) {\n return request({\n url: '/admin/menu',\n params: {\n parentId: id\n },\n method: 'get'\n });\n}\nexport function fetchMenuTree(lazy, parentId) {\n return request({\n url: '/admin/menu/tree',\n method: 'get',\n params: {\n lazy: lazy,\n parentId: parentId\n }\n });\n}\nexport function addObj(obj) {\n return request({\n url: '/admin/menu',\n method: 'post',\n data: obj\n });\n}\nexport function getObj(id) {\n return request({\n url: '/admin/menu/' + id,\n method: 'get'\n });\n}\nexport function delObj(id) {\n return request({\n url: '/admin/menu/' + id,\n method: 'delete'\n });\n}\nexport function putObj(obj) {\n return request({\n url: '/admin/menu',\n method: 'put',\n data: obj\n });\n}",{"version":3,"sources":["D:/jiayue/cemp-ui/src/api/admin/menu.js"],"names":["request","getMenu","id","url","params","parentId","method","fetchMenuTree","lazy","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,GAAG,EAAE,aADQ;AAEbG,IAAAA,MAAM,EAAE,KAFK;AAGbK,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 getMenu(id) {\r\n return request({\r\n url: '/admin/menu',\r\n params: {parentId: id},\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function fetchMenuTree(lazy, parentId) {\r\n return request({\r\n url: '/admin/menu/tree',\r\n method: 'get',\r\n params: {lazy: lazy, parentId: parentId}\r\n })\r\n}\r\n\r\nexport function addObj(obj) {\r\n return request({\r\n url: '/admin/menu',\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/menu/' + id,\r\n method: 'get'\r\n })\r\n}\r\n\r\nexport function delObj(id) {\r\n return request({\r\n url: '/admin/menu/' + id,\r\n method: 'delete'\r\n })\r\n}\r\n\r\nexport function putObj(obj) {\r\n return request({\r\n url: '/admin/menu',\r\n method: 'put',\r\n data: obj\r\n })\r\n}\r\n"]}]}