错误:
ErrorException: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead
解决:
5.5版本及之后
new CURLFile(realpath())
错误:
ErrorException: curl_setopt(): The usage of the @filename API for file uploading is deprecated. Please use the CURLFile class instead
解决:
5.5版本及之后
new CURLFile(realpath())