mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-20 14:41:23 +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