微信消息调试:
include_once 'Base/jssdk.php';
$jssdk = new \JSSDK(C('Wechat')['AppID'], C('Wechat')['AppSecret']);
$url = 'http://192.168.71.24/demo/wechat/listener'; //DM个人信息url
$header[] = "Content-type: text/xml";//定义content-type为xml
$header[] = "HTTP_USER_AGENT:mytest";
$rst = $jssdk->_curl($url, 'POST',$header,$GLOBALS['HTTP_RAW_POST_DATA']);
Log::write('-------##绑定%%%####8888 '.var_export($rst,true));
echo $rst;exit;

相关文章:

  • 2021-09-19
  • 2022-03-04
  • 2022-02-03
  • 2021-12-04
  • 2021-05-30
  • 2021-10-05
  • 2021-11-14
  • 2022-03-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-15
  • 2021-08-29
  • 2021-06-14
相关资源
相似解决方案