import {request} from '@/service/ajax'

const newsUrl = '/api/member/'
// 登陆
export const login = (data) => request(newsUrl + 'login', 'post', { ...data },false)
//微信登陆
export const wxLogin = (data) => request(newsUrl + 'wx-login', 'post', { ...data },true)
export const register = (data) => request(newsUrl + 'register', 'post', { ...data },true)
export const retrievePassword = (data) => request(newsUrl + 'retrieve', 'post', { ...data },false)
