qq小程序支付

This commit is contained in:
Devil
2019-11-02 14:31:20 +08:00
parent de99b473f3
commit 7045256f3e

View File

@ -313,7 +313,6 @@ class QQ
public function Respond($params = [])
{
$result = empty($GLOBALS['HTTP_RAW_POST_DATA']) ? $this->XmlToArray(file_get_contents('php://input')) : $this->XmlToArray($GLOBALS['HTTP_RAW_POST_DATA']);
file_put_contents(ROOT.'qqqqqq.txt', json_encode($result));
if(isset($result['trade_state']) && $result['trade_state'] == 'SUCCESS' && $result['sign'] == $this->GetSign($result))
{