import request from '@/utils/request'

const newsUrl = '/api/member/'
// 登陆
export const login = (data) => request(newsUrl + 'login', 'post', { ...data },false)
export const register = (data) => request(newsUrl + 'register', 'post', { ...data },false)
export const getIconList = (data) => request(newsUrl + 'coin-list', 'post', { ...data },false)
export const getMemberInfo = (data) => request(newsUrl + 'info', 'post', { ...data },false)
export const getTeamInfo = (data) => request(newsUrl + 'team_info', 'post', { ...data },false)
export const getTeamList = (data) => request(newsUrl + 'team_list', 'post', { ...data },false)
