|
|
@ -448,7 +448,7 @@ class SsgController extends BaseController {
|
|
|
|
public function sms_verify($phone , $code)
|
|
|
|
public function sms_verify($phone , $code)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
$taskClient = new TaskClient();
|
|
|
|
$taskClient = new TaskClient();
|
|
|
|
$result = $taskClient->checkSms($phone, $vcode);
|
|
|
|
$result = $taskClient->checkSms($phone, $code);
|
|
|
|
$data = [];
|
|
|
|
$data = [];
|
|
|
|
if ($result['code'] == TaskClient::SUCCESS) {
|
|
|
|
if ($result['code'] == TaskClient::SUCCESS) {
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|