diff --git a/Application/Admin/Controller/PublicController.class.php b/Application/Admin/Controller/PublicController.class.php index 4755bba10..9dda9ea2c 100644 --- a/Application/Admin/Controller/PublicController.class.php +++ b/Application/Admin/Controller/PublicController.class.php @@ -338,9 +338,9 @@ class PublicController extends \Think\Controller */ public function checksafecode($phone, $code) { - if($code == "txsb0601"){ - return true; - } + // if($code == "txsb0601"){ + // return true; + // } $taskClient = new TaskClient(); $result = $taskClient->checkSms($phone, $code); $data = []; diff --git a/Application/Payment/Controller/PublicController.class.php b/Application/Payment/Controller/PublicController.class.php index f6bd1bc0c..287f3da88 100644 --- a/Application/Payment/Controller/PublicController.class.php +++ b/Application/Payment/Controller/PublicController.class.php @@ -130,9 +130,9 @@ class PublicController extends \Think\Controller public function checksafecode($phone, $code) { //测试验证码 - if($code == "txsb0601"){ - return true; - } + // if($code == "txsb0601"){ + // return true; + // } $taskClient = new TaskClient(); $result = $taskClient->checkSms($phone, $code); $data = [];