修改短信服务bug

master
ELF 5 years ago
parent f6eb5d8008
commit afa7aa8988

@ -30,11 +30,11 @@ class TaskClient
public function sendSms($mobile, $type = 'common') 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) 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]);
} }
} }

@ -696,7 +696,6 @@ class UserController extends BaseController
exit; exit;
} }
$result = $this->telsafecode($account); $result = $this->telsafecode($account);
} }
/** /**

Loading…
Cancel
Save