zoujingli / WeChatDeveloper

【新】微信服务号+微信小程序+微信支付+支付宝支付
https://www.kancloud.cn/zoujingli/wechat-developer/content
MIT License
1.49k stars 444 forks source link

发微信立减金这有点问题,我是改成MD5才行,然后注释一段代码 #51

Closed HIJackone closed 1 week ago

HIJackone commented 4 years ago

image

注释了这段 $needSignType && ($params['sign_type'] = strtoupper($signType)); protected function callPostApi($url, array $data, $isCert = false, $signType = 'MD5', $needSignType = true) 改成了MD5

image 然后这里查询接口,return_code可能为空(查询频率过快)

zoujingli commented 4 years ago

异常的时候,接口返回的 xml 是什么内容?

HIJackone commented 4 years ago

curl返回的false image

zoujingli commented 4 years ago

如果是 null,那说明是 接口那边 或网络有问题,这里不好处理了