mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
fix: 修复更新用户信息接口报错问题 #1824
This commit is contained in:
parent
51eb568ea9
commit
255161f995
@ -1,4 +1,7 @@
|
||||
# 更新日志
|
||||
### 4.13.4 | 2023.10.22
|
||||
- 修复`更新用户信息`接口报错问题 #1824
|
||||
|
||||
### 4.13.3 | 2023.10.10
|
||||
- 添加播客声音搜索接口 #1814
|
||||
|
||||
|
@ -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',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "NeteaseCloudMusicApi",
|
||||
"version": "4.13.3",
|
||||
"version": "4.13.4",
|
||||
"description": "网易云音乐 NodeJS 版 API",
|
||||
"scripts": {
|
||||
"start": "node app.js",
|
||||
|
Loading…
x
Reference in New Issue
Block a user