coolly

由于微信返回的xml格式所以要解析

$result = file_get_contents(\'php://input\', \'r\');
$data = json_decode(json_encode(simplexml_load_string($result, \'SimpleXMLElement\', LIBXML_NOCDATA)), true);

这样我们输出一下就是对象了

接受成功后要通知微信接受成了

echo \'success\';

分类:

技术点:

相关文章:

  • 2021-10-09
  • 2021-12-11
  • 2021-11-10
  • 2021-10-15
  • 2021-10-11
  • 2021-10-01
  • 2021-10-25
  • 2021-10-15
猜你喜欢
  • 2021-10-26
  • 2021-11-15
  • 2021-10-15
  • 2021-12-26
  • 2021-10-15
  • 2021-10-01
  • 2021-09-14
相关资源
相似解决方案