|
@@ -124,6 +124,31 @@
|
|
|
countdown--;
|
|
|
}
|
|
|
}, 1000);
|
|
|
+
|
|
|
+ const dp = {
|
|
|
+ form: {
|
|
|
+ mobile: email,
|
|
|
+ }
|
|
|
+ };
|
|
|
+
|
|
|
+ $.ajax({
|
|
|
+ url: "/index/captcha/sendEmailCaptcha",
|
|
|
+ headers: {platform: 'H5'},
|
|
|
+ dataType: 'json',
|
|
|
+ data: JSON.stringify(dp),
|
|
|
+ type: "POST",
|
|
|
+ contentType: 'application/json',
|
|
|
+ success: function (obj) {
|
|
|
+ console.log(obj);
|
|
|
+ //return false;
|
|
|
+ //注册成功后进入
|
|
|
+ if (obj.status === 200 || obj.status === '200') {
|
|
|
+ showToast('Your captcha has been Sent.')
|
|
|
+ } else {
|
|
|
+ showToast('Please try again later.')
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
});
|
|
|
|
|
|
//找回密码
|