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