Commit c488a216 authored by zhengke's avatar zhengke

修改验证

parent 72e8b35f
...@@ -497,7 +497,7 @@ ...@@ -497,7 +497,7 @@
} }
//发送验证码 //发送验证码
function getCode() { function getCode() {
var phoneReg = /(^1[3|4|5|7|8]\d{9}$)|(^09\d{8}$)/; var phoneReg = /(^1[3|4|5|6|7|8|9]\d{9}$)|(^09\d{8}$)/;
//电话 //电话
let phone = $('#Activation_Account').val(); let phone = $('#Activation_Account').val();
if (!phoneReg.test(phone)) { if (!phoneReg.test(phone)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment