14 lines
449 B
TypeScript
14 lines
449 B
TypeScript
|
|
import { get, post, put, del } from '../utils/request';
|
|
|
|
export const userInfo = (data : any) => get('v1/info', data);
|
|
|
|
export const register = (data : any) => post('/power/drv', data);
|
|
|
|
export const updateUser = (data : any) => put('/power/drv', data);
|
|
|
|
export const deleteUser = (data : any) => del('/power/drv', data);
|
|
|
|
export const captcha = (data : any) => get('v1/captcha', data);
|
|
|
|
export const login = (data : any) => post('v1/login', data); |