mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 13:48:02 +00:00
fix: 云盘无法上传的bug
This commit is contained in:
parent
dd65c67568
commit
aa418cd0d7
34 changed files with 445 additions and 19 deletions
|
|
@ -4,9 +4,6 @@
|
|||
// !需要登录或者匿名登录,非登录返回 []
|
||||
const config = require('../util/config.json')
|
||||
module.exports = (query, request) => {
|
||||
if (typeof query.cookie === 'string') {
|
||||
query.cookie = cookieToJson(query.cookie)
|
||||
}
|
||||
if (!('MUSIC_U' in query.cookie))
|
||||
query.cookie.MUSIC_A = config.anonymous_token
|
||||
const data = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue