public function getAppOrderData()
{
if ($this->isSuccessful()) {
$data = array('appid' => $this->request->getAppId(), 'partnerid' => $this->request->getMchId(), 'prepayid' => $this->getPrepayId(), 'package' => 'Sign=WXPay', 'noncestr' => md5(uniqid()), 'timestamp' => time());
$data['sign'] = Helper::sign($data, $this->request->getApiKey());
} else {
$data = null;
}
return $data;
}