|
|
|
@ -30,11 +30,11 @@ class TaskClient
|
|
|
|
|
|
|
|
|
|
public function sendSms($mobile, $type = 'common')
|
|
|
|
|
{
|
|
|
|
|
$result = $this->post('/message/sms-send', ['mobile' => $mobile, 'type' => $type]);
|
|
|
|
|
return $this->post('/message/sms-send', ['mobile' => $mobile, 'type' => $type]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function checkSms($mobile, $code)
|
|
|
|
|
{
|
|
|
|
|
$result = $this->post('/message/sms-check', ['mobile' => $mobile, 'code' => $code]);
|
|
|
|
|
return $this->post('/message/sms-check', ['mobile' => $mobile, 'code' => $code]);
|
|
|
|
|
}
|
|
|
|
|
}
|