update: 例子更新

This commit is contained in:
binaryify 2024-05-11 14:20:01 +08:00
parent dea65db2b3
commit 6aa4418ecb
5 changed files with 12 additions and 2 deletions

View File

@ -1,4 +1,7 @@
# 更新日志
### 4.19.6 | 2024.05.11
- 例子更新
### 4.19.5 | 2024.05.08
- 中间件问题修复

View File

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

View File

@ -26,6 +26,13 @@
<pre>{{ JSON.stringify(JSON.parse(result), null, 2) }}</pre>
</p>
</div>
<div>
<p>使用例子:</p>
<img src="/static/eapi_params.png" />
<img src="/static/eapi_response.png" />
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/axios"></script>
@ -47,7 +54,7 @@
async decrypt() {
try {
const res = await axios({
url: `/eapi/decrypt?isReq=${this.isReq}`,
url: `/eapi/decrypt?isReq=${this.isReq}&timestamp=${Date.now()}`,
method: 'post',
data: {
hexString: this.hexString

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 MiB