mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-23 23:53:10 +00:00
update: 例子更新
This commit is contained in:
parent
dea65db2b3
commit
6aa4418ecb
@ -1,4 +1,7 @@
|
|||||||
# 更新日志
|
# 更新日志
|
||||||
|
### 4.19.6 | 2024.05.11
|
||||||
|
- 例子更新
|
||||||
|
|
||||||
### 4.19.5 | 2024.05.08
|
### 4.19.5 | 2024.05.08
|
||||||
- 中间件问题修复
|
- 中间件问题修复
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "NeteaseCloudMusicApi",
|
"name": "NeteaseCloudMusicApi",
|
||||||
"version": "4.19.5",
|
"version": "4.19.6",
|
||||||
"description": "网易云音乐 NodeJS 版 API",
|
"description": "网易云音乐 NodeJS 版 API",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node app.js",
|
"start": "node app.js",
|
||||||
|
|||||||
@ -26,6 +26,13 @@
|
|||||||
<pre>{{ JSON.stringify(JSON.parse(result), null, 2) }}</pre>
|
<pre>{{ JSON.stringify(JSON.parse(result), null, 2) }}</pre>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<p>使用例子:</p>
|
||||||
|
<img src="/static/eapi_params.png" />
|
||||||
|
<img src="/static/eapi_response.png" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="https://cdn.jsdelivr.net/npm/axios"></script>
|
<script src="https://cdn.jsdelivr.net/npm/axios"></script>
|
||||||
@ -47,7 +54,7 @@
|
|||||||
async decrypt() {
|
async decrypt() {
|
||||||
try {
|
try {
|
||||||
const res = await axios({
|
const res = await axios({
|
||||||
url: `/eapi/decrypt?isReq=${this.isReq}`,
|
url: `/eapi/decrypt?isReq=${this.isReq}×tamp=${Date.now()}`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data: {
|
data: {
|
||||||
hexString: this.hexString
|
hexString: this.hexString
|
||||||
|
|||||||
BIN
public/static/eapi_params.png
Normal file
BIN
public/static/eapi_params.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 MiB |
BIN
public/static/eapi_response.png
Normal file
BIN
public/static/eapi_response.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 MiB |
Loading…
x
Reference in New Issue
Block a user