mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-23 16:11:24 +08:00
feat: 修改客户端的ua
This commit is contained in:
@@ -15,10 +15,11 @@ module.exports = async (query, request) => {
|
||||
: query.md5_password || CryptoJS.MD5(query.password).toString(),
|
||||
rememberLogin: 'true',
|
||||
}
|
||||
let result = await request(`/api/w/login/cellphone`, data, {
|
||||
...createOption(query),
|
||||
uaType: 'pc',
|
||||
})
|
||||
let result = await request(
|
||||
`/api/w/login/cellphone`,
|
||||
data,
|
||||
createOption(query),
|
||||
)
|
||||
|
||||
if (result.body.code === 200) {
|
||||
result = {
|
||||
|
||||
Reference in New Issue
Block a user