mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
fix:参数接收问题修复
This commit is contained in:
parent
076ee17286
commit
5b30e1b222
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 4.19.4 | 2024.05.07
|
||||||
|
- 参数接收问题修复
|
||||||
|
|
||||||
### 4.19.3 | 2024.05.07
|
### 4.19.3 | 2024.05.07
|
||||||
- 参数调整
|
- 参数调整
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.19.3",
|
"version": "4.19.4",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
@ -47,8 +47,11 @@
|
|||||||
async decrypt() {
|
async decrypt() {
|
||||||
try {
|
try {
|
||||||
const res = await axios({
|
const res = await axios({
|
||||||
url: `/eapi/decrypt?hexString=${this.hexString}&isReq=${this.isReq}`,
|
url: `/eapi/decrypt?isReq=${this.isReq}`,
|
||||||
method: 'post'
|
method: 'post',
|
||||||
|
data: {
|
||||||
|
hexString: this.hexString
|
||||||
|
}
|
||||||
})
|
})
|
||||||
this.result = JSON.stringify(res.data.data)
|
this.result = JSON.stringify(res.data.data)
|
||||||
console.log(res.data);
|
console.log(res.data);
|
||||||
|
@ -135,6 +135,9 @@ async function consturctServer(moduleDefs) {
|
|||||||
const app = express()
|
const app = express()
|
||||||
const { CORS_ALLOW_ORIGIN } = process.env
|
const { CORS_ALLOW_ORIGIN } = process.env
|
||||||
app.set('trust proxy', true)
|
app.set('trust proxy', true)
|
||||||
|
app.use(express.json({ limit: '50mb' }))
|
||||||
|
app.use(express.urlencoded({ limit: '50mb' }))
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Serving static files
|
* Serving static files
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user