import Api from '@/utils/request' ; export function sendCodeToEmail ( data ) { return Api ( 'api/sendCodeToEmail' , 'POST' , data ) ; } export function register ( data ) { return Api ( 'api/register' , 'POST' , data ) ; }