Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

获取歌单失败,请确认用户id是否正确【解决】 #19

Open
LeonGinger opened this issue May 4, 2020 · 2 comments
Open

Comments

@LeonGinger
Copy link

LeonGinger commented May 4, 2020

@bigfa
获取歌单失败,请确认用户id是否正确
wordpress版本:5.4.1
lnmp环境 -php7.2.24
function/nmjson.php/netease_http方法

curl请求url结果乱码,导致json_decode结果为NULL,
解决:netease_http方法curl_setopt($ch, CURLOPT_HTTPHEADER, $header);行后加入curl_setopt($ch, CURLOPT_ACCEPT_ENCODING, "gzip,deflate");
乱码解决~~
方案参考:https://blog.csdn.net/default7/article/details/81297681

@LeonGinger LeonGinger reopened this May 8, 2020
@yiyinyiyang
Copy link

升级到Version 3.2.1 激活插件后 没出现问题 之后设置了几个选项 如歌单列表三列显示。后再运行又不行了 不能获取歌单

@yiyinyiyang
Copy link

yiyinyiyang commented May 29, 2020

今天打开歌单又可以了 缓存问题?!!!
清理缓存后 不能刷出歌单!
大约1天后才能刷出歌单!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants