短信验证万能验证码注释

master
zhengyongxing 4 years ago
parent 9c0006ef45
commit f5e2adb860

@ -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