import {request} from '@/service/ajax' const newsUrl = '/admin/utility/' // 登陆 // export const login = (data) => request(newsUrl + 'one_click_login', 'post', { ...data },false) export const login = (data) => request('/auth/oauth2/token', 'post', { ...data },false) export const forgetPassword = (data) => request(newsUrl + 'forget_password', 'post', { ...data },false) export const register = (data) => request(newsUrl + 'register', 'post', { ...data },true) export const filUserInfo = (data) => request(newsUrl + 'fillUserInfo', 'post', { ...data },true) export const setCard = (data) => request(newsUrl + 'card', 'post', { ...data },true)