提交 22df6b28 authored 作者: IT-xiaoxiao-肖丽's avatar IT-xiaoxiao-肖丽

合并分支 'master-Catherine-20220622' 到 'master'

提交 查看合并请求 !2
...@@ -142,33 +142,33 @@ body{ ...@@ -142,33 +142,33 @@ body{
) )
})</script> })</script>
<script> <script>
$(function () { // $(function () {
register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) { // register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
var result; // var result;
if (isRegister === false) { // if (isRegister === false) {
result = Fn.User.RegisterWithoutPwd(data.phone, data.code); // result = Fn.User.RegisterWithoutPwd(data.phone, data.code);
if (result["_r"] == "1") { // if (result["_r"] == "1") {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} else { // } else {
result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86'); // result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86');
if (result == '1') { // if (result == '1') {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} // }
return 'not-handle'; // return 'not-handle';
},getsms: function(data) { // },getsms: function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
if (isRegister) { // if (isRegister) {
result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2); // result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2);
} else { // } else {
result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2); // result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2);
} // }
return result; // return result;
}, // },
}) // })
}) // })
</script> </script>
<div class="auto-element-QkVGb1-1 json"> <div class="auto-element-QkVGb1-1 json">
......
...@@ -138,33 +138,33 @@ body{ ...@@ -138,33 +138,33 @@ body{
) )
})</script> })</script>
<script> <script>
$(function () { // $(function () {
register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) { // register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
var result; // var result;
if (isRegister === false) { // if (isRegister === false) {
result = Fn.User.RegisterWithoutPwd(data.phone, data.code); // result = Fn.User.RegisterWithoutPwd(data.phone, data.code);
if (result["_r"] == "1") { // if (result["_r"] == "1") {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} else { // } else {
result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86'); // result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86');
if (result == '1') { // if (result == '1') {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} // }
return 'not-handle'; // return 'not-handle';
},getsms: function(data) { // },getsms: function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
if (isRegister) { // if (isRegister) {
result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2); // result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2);
} else { // } else {
result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2); // result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2);
} // }
return result; // return result;
}, // },
}) // })
}) // })
</script> </script>
<div class="auto-element-QkVGb1-1 json"> <div class="auto-element-QkVGb1-1 json">
......
...@@ -136,33 +136,33 @@ body{ ...@@ -136,33 +136,33 @@ body{
) )
})</script> })</script>
<script> <script>
$(function () { // $(function () {
register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) { // register.customForm({formId:'auto-element-652-0',anyVaildation:true,submit:function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
var result; // var result;
if (isRegister === false) { // if (isRegister === false) {
result = Fn.User.RegisterWithoutPwd(data.phone, data.code); // result = Fn.User.RegisterWithoutPwd(data.phone, data.code);
if (result["_r"] == "1") { // if (result["_r"] == "1") {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} else { // } else {
result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86'); // result = Fn.User.LPSLoginWithCodeByAreaCode(data.phone, data.code, '86');
if (result == '1') { // if (result == '1') {
register.regSuccessFn(); // register.regSuccessFn();
} // }
} // }
return 'not-handle'; // return 'not-handle';
},getsms: function(data) { // },getsms: function(data) {
var isRegister = Fn.User.IsPhoneRegister(data.phone); // var isRegister = Fn.User.IsPhoneRegister(data.phone);
if (isRegister) { // if (isRegister) {
result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2); // result = Fn.User.SMSCodeLoginWithCaptcha(data.phone,0,data.token || '', 2);
} else { // } else {
result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2); // result = Fn.User.SMSCodeByVerifyImgWithCaptcha(data.phone,0, data.token || '', 2);
} // }
return result; // return result;
}, // },
}) // })
}) // })
</script> </script>
<div class="auto-element-QkVGb1-1 json"> <div class="auto-element-QkVGb1-1 json">
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论