调取微信头像时候 报错,内容如下
[2020-01-16 13:44:33] mugeda_card_server.ERROR: Uncaught Exception
ErrorException:
"file_get_contents(https://thirdwx.qlogo.cn/mmopen/vi_32/ZqWnrugwAcyxB6rZtmXdJLeBNpwmicia1SX0f7gtOJdAElJ5TpQGCbkfyvYkO26h9O7NWCpXMNiax4HG1jXyQWSbw/132):
failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request "
at /home/mugeda/mugeda-card-server/server/api_imgtobase64.php line 24,
request:
"/server/api_imgtobase64.php/transfer?img=https%3A%2F%2Fthirdwx.qlogo.cn%2Fmmopen%2Fvi_32%2FZqWnrugwAcyxB6rZtmXdJLeBNpwmicia1SX0f7gtOJdAElJ5TpQGCbkfyvYkO26h9O7NWCpXMNiax4HG1jXyQWSbw%2F132"
{"exception":"[object] (ErrorException(code: 2):
file_get_contents(https://thirdwx.qlogo.cn/mmopen/vi_32/ZqWnrugwAcyxB6rZtmXdJLeBNpwmicia1SX0f7gtOJdAElJ5TpQGCbkfyvYkO26h9O7NWCpXMNiax4HG1jXyQWSbw/132):
failed to open stream: HTTP request failed! HTTP/1.1 400 Bad
Request\r\n at
/home/mugeda/mugeda-card-server/server/api_imgtobase64.php:24)"} []
我也遇到了找不到解决办法