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

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