作者 何书鹏
1 个管道 的构建 通过 耗费 1 秒

测试

@@ -24,6 +24,7 @@ class Sms extends Api @@ -24,6 +24,7 @@ class Sms extends Api
24 public function send() 24 public function send()
25 { 25 {
26 $mobile = $this->request->get("mobile"); 26 $mobile = $this->request->get("mobile");
  27 + $this->error('测试:'.$mobile);
27 $event = $this->request->get("event"); 28 $event = $this->request->get("event");
28 $event = $event ? $event : 'changemobile'; 29 $event = $event ? $event : 'changemobile';
29 if (!$mobile || !\think\Validate::regex($mobile, "^1\d{10}$")) { 30 if (!$mobile || !\think\Validate::regex($mobile, "^1\d{10}$")) {