13 lines
468 B
TypeScript
13 lines
468 B
TypeScript
import { get, post, put, del } from '../utils/request';
|
|
|
|
export const newMessage = (data : any = {}) => get('v1/message/new/count', 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); |