mirror of
https://github.com/Jerryplusy/rc-plugin.git
synced 2025-10-14 16:19:18 +00:00
🪛 chore: 完善日志
This commit is contained in:
parent
d6c191be98
commit
b24c01104a
@ -527,10 +527,10 @@ export class songRequest extends plugin {
|
|||||||
const userInfo = res.data.data.profile
|
const userInfo = res.data.data.profile
|
||||||
await config.updateField("tools", "neteaseUserId", res.data.data.profile.userId);
|
await config.updateField("tools", "neteaseUserId", res.data.data.profile.userId);
|
||||||
if (userInfo) {
|
if (userInfo) {
|
||||||
logger.info('ck活着,使用ck进行高音质下载')
|
logger.info('[R插件][ncm-Cookie检测]ck活着,使用ck进行高音质下载')
|
||||||
status = true
|
status = true
|
||||||
} else {
|
} else {
|
||||||
logger.info('ck失效,将启用临时接口下载')
|
logger.info('[R插件][ncm-Cookie检测]ck失效,将启用临时接口下载')
|
||||||
status = false
|
status = false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -1693,10 +1693,10 @@ export class tools extends plugin {
|
|||||||
}).then(res => {
|
}).then(res => {
|
||||||
const userInfo = res.data.data.profile
|
const userInfo = res.data.data.profile
|
||||||
if (userInfo) {
|
if (userInfo) {
|
||||||
logger.info('ck活着,使用ck进行高音质下载')
|
logger.info('[R插件][netease]ck活着,使用ck进行高音质下载')
|
||||||
return true
|
return true
|
||||||
} else {
|
} else {
|
||||||
logger.info('ck失效,将启用临时接口下载')
|
logger.info('[R插件][netease]ck失效,将启用临时接口下载')
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user