import { axiosInstance } from "./request" ; export const loginByPhoneRequest = ( phone , password ) => { return axiosInstance . get ( `/login/cellphone?phone=${ phone }&password=${ password }` ) ; } ; export const sentVcodeRequest = ( phone ) => { return axiosInstance . get ( `/captcha/sent?phone=${ phone }` ) ; } ; export const loginByVcodeRequest = ( phone , vcode ) => { return axiosInstance . get ( `/captcha/verify?phone=${ phone }&captcha=${ vcode }` ) ; } ;