You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
658 B

const {
login_cellphone,
user_cloud,
album_sublist,
song_url,
} = require('../main')
async function test() {
try {
const result = await login_cellphone({
phone: '手机号',
password: '密码',
})
console.log(result)
const result2 = await user_cloud({
cookie: result.body.cookie,
})
console.log(result2.body)
const result3 = await album_sublist({
cookie: result.body.cookie,
})
console.log(result3.body)
const result4 = await song_url({
cookie: result.body.cookie,
id: 33894312,
})
console.log(result4.body)
} catch (error) {
console.log(error)
}
}
test()