import request from '@/utils/request'

export const api_Login = (data) => request({ url: '/admin/rewardlogin', method: 'post', data }) // 登录
export const api_GetUserInfo = () => request({ url: '/admin/getcurrentadmin', method: 'get' }) // 个人信息
export const getOtherInfo = (params) => request({ url: '/user/getuserdetails', method: 'get', params }) // 获取邀请人信息
export const GetUserInfos = (params) => request({ url: '/GetUserInfos', method: 'get', params }) // 获取搜索的代理
