'send', 'userid' => self::$userid, 'timestamp' => $time, 'sign' => md5(self::$username . self::$passwd . $time), 'mobile' => $phone, 'content' => $content, 'sendTime' => '', 'extno' => '', 'rt' => 'json', ]; $gets = json_decode(HttpService::postRequest($target, $data), true); if ($gets) { return ['status' => 200, 'msg' => '短信发送成功']; } else { return ['status' => 400, 'msg' => '发送失败']; } } }