qq小程序支付
parent
de99b473f3
commit
7045256f3e
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue