import {request} from './ajax.js'

const newsUrl = '/api/member/'
// 登陆
export const login = (data) => request(newsUrl + 'login', 'post', { ...data },false)
export const register = (data) => request(newsUrl + 'register', 'post', { ...data },false)
