$postStr = $GLOBALS['HTTP_RAW_POST_DATA'];
$resStr = simplexml_load_string($postStr, 'SimpleXMLElement', LIBXML_NOCDATA);
if ($resStr->return_code == 'SUCCESS') {
$return_info['return_code'] = 'SUCCESS';
$return_info['return_msg'] = 'OK';
echo $this->data_to_xml($return_info
微信支付回调数据解析 php
最新推荐文章于 2025-02-08 22:48:00 发布