error('手机号不正确'); } $result = smss::send_sms($mobile,$event); if ($result['code']){ $this->success($result['msg'],$result['data']); }else{ $this->error($result['msg']); } } }