Explorar o código

短信验证码

zhangxiaobin hai 1 ano
pai
achega
aa5bf79501
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      application/api/controller/Sms.php

+ 0 - 1
application/api/controller/Sms.php

@@ -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(__('手机号不正确'));
         }