service.ts 229 Bytes
Newer Older
duanledexianxianxian's avatar
duanledexianxianxian committed
1
import { get } from '@/utils/request';
duanledexianxianxian's avatar
duanledexianxianxian committed
2 3 4
import { UserRegisterParams } from './index';

export async function fakeRegister(params: UserRegisterParams) {
duanledexianxianxian's avatar
duanledexianxianxian committed
5
  return get('/api/register', {
duanledexianxianxian's avatar
duanledexianxianxian committed
6 7 8 9
    method: 'POST',
    data: params,
  });
}