Commit 3569d213 authored by clone's avatar clone

bug

parent 47b41a12
......@@ -106,7 +106,7 @@ class Sublet extends Basic
return $this->response("101", "称呼不能为空");
}
if (!isset($params["tel"]) || !preg_match('/1[345678]\d{9}/', $params["tel"])) {
if (!isset($params["tel"]) || !preg_match('/1[3456789]\d{9}/', $params["tel"])) {
return $this->response("101", "手机号检验错误");
}
$params["create_time"] = date("Y-m-d H:i:s", time());
......
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