mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-05-23 22:37:41 +08:00
update docs
This commit is contained in:
parent
ba3121a63c
commit
166db1ee9a
10
README.MD
10
README.MD
@ -59,6 +59,16 @@ windows 下使用 git-bash 或者 cmder 等终端执行以下命令:
|
||||
$ set PORT=4000 && node app.js
|
||||
```
|
||||
|
||||
## Vercel 部署
|
||||
v4.0.8 加入了 Vercel 配置文件,可以直接在 Vercel 下部署了,不需要自己的服务器
|
||||
### 操作方法
|
||||
1. fork 此项目
|
||||
2. 在 Vercel 官网点击 `New Project`
|
||||
3. 点击 `Import Git Repository` 并选择你 fork 的此项目并点击`import`
|
||||
4. 点击 `PERSONAL ACCOUNT` 的 `select`
|
||||
5. 直接点`Continue`
|
||||
6. `PROJECT NAME`自己填,`FRAMEWORK PRESET` 选 `Other` 然后直接点 `Deploy` 接着等部署完成即可
|
||||
|
||||
## 可以在Node.js调用
|
||||
v3.31.0后支持Node.js调用,导入的方法为`module`内的文件名,返回内容包含`status`和`body`,`status`为状态码,`body`为请求返回内容,参考`module_example` 文件夹下的 `test.js`
|
||||
```js
|
||||
|
Loading…
x
Reference in New Issue
Block a user