Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexchent committed Jul 3, 2021
1 parent a750100 commit df76b5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Helper/QueryPhone.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Date: 2016/7/6
* Time: 15:37
*/
use HttpRequest;
//use HttpRequest;

class QueryPhone
{
Expand Down Expand Up @@ -35,7 +35,7 @@ private static function _formatData($data)

public static function verifyPhone($phone)
{
if (preg_match("/^1[34578]{1}\d{9}/", $phone)) {
if (preg_match("/^1[34578]\d{9}/", $phone)) {
return true;
} else {
return false;
Expand Down
3 changes: 2 additions & 1 deletion find_phone.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
$response['msg'] = "手机号码错误";
}

echo json_encode($response);
var_dump($response);
//echo json_encode($response);



0 comments on commit df76b5c

Please sign in to comment.