fix: 分享问题修复

This commit is contained in:
binaryify 2024-04-18 17:19:44 +08:00
parent fc3e62a69e
commit 22f21eda3f
3 changed files with 6 additions and 1 deletions

View File

@ -1,4 +1,7 @@
# 更新日志
### 4.16.1 | 2024.04.18
- 分享接口问题修复
-
### 4.16.0 | 2024.04.18
- ua 更新,修复接口提示网络拥挤问题
- 支持手动传入 ua 参数,修改 user-agent

View File

@ -1,6 +1,8 @@
// 分享歌曲到动态
module.exports = (query, request) => {
query.cookie.os = 'ios'
query.cookie.appver = '9.0.65'
const data = {
type: query.type || 'song', // song,playlist,mv,djprogram,djradio,noresource
msg: query.msg || '',

View File

@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "4.16.0",
"version": "4.16.1",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",