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

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

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