ソースを参照

短信验证码

zhangxiaobin 1 年間 前
コミット
aa5bf79501
1 ファイル変更0 行追加1 行削除
  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(__('手机号不正确'));
         }