{"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/user.js","dependencies":[{"path":"/data/jenkins/workspace/mer.ws.baibaodun.com.cn/src/api/user.js","mtime":1701742078513},{"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 login(data) {\n  return request({\n    url: '/admin/merchant/login',\n    method: 'post',\n    data: data\n  });\n}\nexport function getInfo(token) {\n  return request({\n    url: '/admin/merchant/getAdminInfoByToken',\n    method: 'get',\n    params: {\n      token: token\n    }\n  });\n}\nexport function logout() {\n  return request({\n    url: '/admin/merchant/logout',\n    method: 'get'\n  });\n}\n\n/**\n * 会员管理 列表\n * @param pram\n */\nexport function userListApi(params) {\n  return request({\n    url: \"/admin/merchant/user/list\",\n    method: 'get',\n    params: params\n  });\n}\n\n/**\n *获取登录页图片\n */\nexport function getLoginPicApi() {\n  return request({\n    url: \"/admin/merchant/getLoginPic\",\n    method: 'get'\n  });\n}\n\n/**\n * @description 验证码\n */\nexport function captchaApi() {\n  return request({\n    url: \"/publicly/validate/code/get\",\n    method: 'get'\n  });\n}\n\n/**\n * @description 用户详情列表\n */\nexport function userDetailApi(id) {\n  return request({\n    url: \"/admin/merchant/user/detail/\".concat(id),\n    method: 'get'\n  });\n}\n\n/**\n * @description 商户端单点登录\n */\nexport function autoLoginApi(data) {\n  return request({\n    url: \"/admin/merchant/token/exchange\",\n    method: 'POST',\n    data: data\n  });\n}",null]}