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