|
@@ -32,7 +32,6 @@ class Sms extends Api
|
|
|
$mobile = $this->request->post("mobile");
|
|
|
$event = $this->request->post("event");
|
|
|
$event = $event ? $event : 'register';
|
|
|
- $this->success(__('发送成功'));
|
|
|
if (!$mobile || !\think\Validate::regex($mobile, "^1\d{10}$")) {
|
|
|
$this->error(__('手机号不正确'));
|
|
|
}
|