You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
bililive_webapp/src/request.ts

13 lines
304 B

import {sendCodeApi} from "./interface";
/**
* 发送验证码
* @param userEmail
*/
export function sendCode(userEmail:string){
return fetch(new Request(sendCodeApi,{method:'POST',body:JSON.stringify({userEmail})}))
}
export function changeEmail(oldEmail:string,newEmail:string,code:string){
}