feat: fix bug in signup and reset phone and email (#1396)

* fix: fix bug in signup and reset phone and email

* delete useless addition
This commit is contained in:
Mr Forest
2022-12-11 15:52:36 +08:00
committed by GitHub
parent ef836acfe9
commit eca2527bc0
7 changed files with 14 additions and 6 deletions

View File

@ -109,11 +109,12 @@ export function setPassword(userOwner, userName, oldPassword, newPassword) {
}).then(res => res.json());
}
export function sendCode(checkType, checkId, checkKey, dest, type, applicationId, checkUser) {
export function sendCode(checkType, checkId, checkKey, method, dest, type, applicationId, checkUser) {
const formData = new FormData();
formData.append("checkType", checkType);
formData.append("checkId", checkId);
formData.append("checkKey", checkKey);
formData.append("method", method);
formData.append("dest", dest);
formData.append("type", type);
formData.append("applicationId", applicationId);