|
|
|
@ -28,9 +28,9 @@ class TaskClient
|
|
|
|
|
return json_decode($result, true);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function sendSms($mobile, $type = 'common')
|
|
|
|
|
public function sendSms($mobile, $clientIp, $type = 'common')
|
|
|
|
|
{
|
|
|
|
|
return $this->post('/message/sms-send', ['mobile' => $mobile, 'type' => $type]);
|
|
|
|
|
return $this->post('/message/sms-send', ['mobile' => $mobile, 'type' => $type, 'client_ip' => $clientIp]);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public function checkSms($mobile, $code)
|
|
|
|
|