mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🐞 fix:修复在新版API中CK参数错误导致无法获取最高音质
This commit is contained in:
parent
e0d56b3986
commit
618a1e1006
@ -1508,9 +1508,10 @@ async neteaseStatus(e, reck) {
|
||||
const match = res.data.cookie.match(regex);
|
||||
if (match) {
|
||||
try {
|
||||
await config.updateField("tools", "neteaseCookie", match[0]);
|
||||
let ck = match[0] + '; os=pc'
|
||||
await config.updateField("tools", "neteaseCookie", ck);
|
||||
// logger.info('ck------', match[0]);
|
||||
this.neteaseStatus(e, match[0])
|
||||
this.neteaseStatus(e, ck)
|
||||
} catch (error) {
|
||||
logger.error('更新ck时出错:', error);
|
||||
e.reply('更新ck时出错,请稍后重试');
|
||||
|
Loading…
x
Reference in New Issue
Block a user