__FresHmaN
__FresHmaN
@olahol can you tag a new release for this change ?
https://github.com/dodgepudding/wechat-php-sdk/blob/master/wechat.class.php#L1037
看来是文档写的不够全?没有对POST数据说明
刚测试了下,成功了,需要post的是图片的二进制数据。
``` $body = file_get_contents('path/to/xx.jpg'); //.... //curl curl_setopt($oCurl, CURLOPT_POSTFIELDS, $body); ``` 就是获取图片的二进制数据,直接post
include_once 如果该文件已经包含,则不会再次包含。
@picasso250 @koboshi 至少lp里使用了once,如果是自己写东西,当然不使用once,但是作为框架级别的,不能保证每个使用者都会注意到文件的引用关系。
Wating the reason... :)
全给删了
:+1: