mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 00:32:06 +08:00
修复直接调用时传入 cookie 不生效的问题 #822
This commit is contained in:
@ -4,6 +4,7 @@ module.exports = {
|
||||
return val === 'true' || val == '1'
|
||||
},
|
||||
cookieToJson(cookie) {
|
||||
if (!cookie ) return {}
|
||||
let cookieArr = cookie.split(';');
|
||||
let obj = {}
|
||||
cookieArr.forEach((i) => {
|
||||
|
Reference in New Issue
Block a user