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

const newsUrl = '/api/member/'
// 获取基本信息
export const getMemberInfo = (data) => request(newsUrl + 'info', 'post', { ...data },false)
export const updateMemberInfo = (data) => request(newsUrl + 'update', 'post', { ...data },false)
export const updatePhone = (data) => request(newsUrl + 'phone', 'post', { ...data },false)
export const setPassword = (data) => request(newsUrl + 'password', 'post', { ...data },false)
export const logout = (data) => request(newsUrl + 'logout', 'post', { ...data },false)
