mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
update: /verify/getQr 补充二维码dataurl返回数据
This commit is contained in:
parent
ddc9b58ed9
commit
336dc2a65a
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 4.13.1 | 2023.09.23
|
||||||
|
- `/verify/getQr` 补充二维码dataurl返回数据
|
||||||
|
|
||||||
### 4.13.0 | 2023.09.23
|
### 4.13.0 | 2023.09.23
|
||||||
- 新增 `专辑简要百科信息` `歌曲简要百科信息` `歌手简要百科信息` `mv简要百科信息` `搜索歌手` `用户贡献内容` `用户贡献条目、积分、云贝数量` #1805
|
- 新增 `专辑简要百科信息` `歌曲简要百科信息` `歌手简要百科信息` `mv简要百科信息` `搜索歌手` `用户贡献内容` `用户贡献条目、积分、云贝数量` #1805
|
||||||
- 新增 `年度听歌报告` 接口 #1809
|
- 新增 `年度听歌报告` 接口 #1809
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
const QRCode = require('qrcode')
|
||||||
module.exports = async (query, request) => {
|
module.exports = async (query, request) => {
|
||||||
const data = {
|
const data = {
|
||||||
verifyConfigId: query.vid,
|
verifyConfigId: query.vid,
|
||||||
@ -36,6 +37,7 @@ module.exports = async (query, request) => {
|
|||||||
data: {
|
data: {
|
||||||
qrCode: res.body.data.qrCode,
|
qrCode: res.body.data.qrCode,
|
||||||
qrurl: result,
|
qrurl: result,
|
||||||
|
qrimg: await QRCode.toDataURL(result),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.13.0",
|
"version": "4.13.1",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user