diff --git a/Application/Base/Tool/TaskClient.class.php b/Application/Base/Tool/TaskClient.class.php index 59659a739..711593418 100644 --- a/Application/Base/Tool/TaskClient.class.php +++ b/Application/Base/Tool/TaskClient.class.php @@ -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]); } } \ No newline at end of file diff --git a/Application/Mobile/Controller/UserController.class.php b/Application/Mobile/Controller/UserController.class.php index a1f2fec42..4e9498243 100644 --- a/Application/Mobile/Controller/UserController.class.php +++ b/Application/Mobile/Controller/UserController.class.php @@ -696,7 +696,6 @@ class UserController extends BaseController exit; } $result = $this->telsafecode($account); - } /**