mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-07 01:52:08 +08:00
fix: 修复更新用户信息接口报错问题 #1824
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
// 编辑用户信息
|
||||
|
||||
module.exports = (query, request) => {
|
||||
query.cookie.os = 'ios'
|
||||
query.cookie.appver = '8.7.01'
|
||||
const data = {
|
||||
avatarImgId: '0',
|
||||
// avatarImgId: '0',
|
||||
birthday: query.birthday,
|
||||
city: query.city,
|
||||
gender: query.gender,
|
||||
@ -12,7 +14,7 @@ module.exports = (query, request) => {
|
||||
}
|
||||
return request(
|
||||
'POST',
|
||||
`https://music.163.com/weapi/user/profile/update`,
|
||||
`https://music.163.com/api/user/profile/update`,
|
||||
data,
|
||||
{
|
||||
crypto: 'weapi',
|
||||
|
Reference in New Issue
Block a user