import request from '@/utils/request' ; import { RegisterParamsType } from './data.d' ; export async function accountReg ( params ) { return request ( '/user/register' , { method : 'POST' , data : params , } ) ; }