|
|
@ -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 = [];
|
|
|
|