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.
|
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){
|
|
|
|
} |