关闭测试验证码

master
chenzhi 5 years ago
parent 69615c1459
commit e3022cb6c2

@ -338,9 +338,9 @@ class PublicController extends \Think\Controller
*/ */
public function checksafecode($phone, $code) public function checksafecode($phone, $code)
{ {
if($code == "txsb0601"){ // if($code == "txsb0601"){
return true; // return true;
} // }
$taskClient = new TaskClient(); $taskClient = new TaskClient();
$result = $taskClient->checkSms($phone, $code); $result = $taskClient->checkSms($phone, $code);
$data = []; $data = [];

@ -130,9 +130,9 @@ class PublicController extends \Think\Controller
public function checksafecode($phone, $code) public function checksafecode($phone, $code)
{ {
//测试验证码 //测试验证码
if($code == "txsb0601"){ // if($code == "txsb0601"){
return true; // return true;
} // }
$taskClient = new TaskClient(); $taskClient = new TaskClient();
$result = $taskClient->checkSms($phone, $code); $result = $taskClient->checkSms($phone, $code);
$data = []; $data = [];

Loading…
Cancel
Save