{"remainingRequest":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js!/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/api/systemadmin.js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/api/systemadmin.js","mtime":1720690881863},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/babel.config.js","mtime":1701742078504},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/cache-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/thread-loader/dist/cjs.js","mtime":499162500000},{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/node_modules/babel-loader/lib/index.js","mtime":456789000000}],"contextDependencies":[],"result":["// +----------------------------------------------------------------------\n// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]\n// +----------------------------------------------------------------------\n// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.\n// +----------------------------------------------------------------------\n// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权\n// +----------------------------------------------------------------------\n// | Author: CRMEB Team <admin@crmeb.com>\n// +----------------------------------------------------------------------\n\nimport request from '@/utils/request';\nexport function adminDel(pram) {\n  var data = {\n    id: pram.id\n  };\n  return request({\n    url: '/admin/merchant/admin/delete',\n    method: 'GET',\n    params: data\n  });\n}\nexport function adminInfo(pram) {\n  var data = {\n    id: pram.id\n  };\n  return request({\n    url: '/admin/merchant/admin/info',\n    method: 'GET',\n    params: data\n  });\n}\nexport function adminList(params) {\n  return request({\n    url: '/admin/merchant/admin/list',\n    method: 'GET',\n    params: params\n  });\n}\nexport function adminAdd(pram) {\n  var data = {\n    account: pram.account,\n    level: pram.level,\n    pwd: pram.pwd,\n    realName: pram.realName,\n    roles: pram.roles.join(','),\n    status: pram.status,\n    phone: pram.phone,\n    empAccount: pram.account,\n    empName: pram.realName\n  };\n  return request({\n    url: '/admin/merchant/admin/save',\n    method: 'POST',\n    data: data\n  });\n}\nexport function adminUpdate(pram) {\n  var data = {\n    account: pram.account,\n    phone: pram.phone,\n    pwd: pram.pwd,\n    realName: pram.realName,\n    id: pram.id,\n    roles: pram.roles,\n    status: pram.status,\n    empAccount: pram.account,\n    empName: pram.realName\n  };\n  return request({\n    url: '/admin/merchant/admin/update',\n    method: 'POST',\n    data: data\n  });\n}\n\n/**\n * 修改状态\n * @param pram\n */\nexport function updateStatusApi(params) {\n  return request({\n    url: \"/admin/merchant/admin/updateStatus\",\n    method: 'get',\n    params: params\n  });\n}\n\n/**\n * 修改后台管理员是否接收状态\n * @param pram\n */\nexport function updateIsSmsApi(params) {\n  return request({\n    url: \"/admin/merchant/admin/update/isSms\",\n    method: 'get',\n    params: params\n  });\n}\n\n/**\n * 敏感操作日志分页列表\n * @param data\n */\nexport function sensitiveListApi(params) {\n  return request({\n    url: \"/admin/merchant/log/sensitive/list\",\n    method: 'get',\n    params: params\n  });\n}\n\n/**\n * 修改登录用户信息\n * @param data\n */\nexport function adminAccountUpdate(pram) {\n  var data = {\n    password: pram.pwd,\n    realName: pram.realName\n  };\n  return request({\n    url: '/admin/merchant/login/admin/update',\n    method: 'POST',\n    data: data\n  });\n}",null]}