member.js 629 B

12345678910
  1. import {request} from './ajax.js'
  2. const newsUrl = '/api/member/'
  3. // 登陆
  4. export const login = (data) => request(newsUrl + 'login', 'post', { ...data },false)
  5. export const register = (data) => request(newsUrl + 'register', 'post', { ...data },false)
  6. export const getIconList = (data) => request(newsUrl + 'coin-list', 'post', { ...data },false)
  7. export const getMemberInfo = (data) => request(newsUrl + 'info', 'post', { ...data },false)
  8. export const getTeamInfo = (data) => request(newsUrl + 'team_info', 'post', { ...data },false)
  9. export const getTeamList = (data) => request(newsUrl + 'team_list', 'post', { ...data },false)