开启测试验证码

master
chenzhi 5 years ago
parent b0034d5f19
commit 2de8e4a313

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

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

Loading…
Cancel
Save