提交 07c5933e 编写于 作者: zhuangtongfa's avatar zhuangtongfa

'update'

上级 2cf98684
......@@ -7,7 +7,8 @@
<a href="https://www.npmjs.com/package/NeteaseCloudMusicApi"><img src="https://img.shields.io/david/binaryify/NeteaseCloudMusicApi.svg" alt="devDependencies" ></a>
<a href="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi"><img src="https://codeclimate.com/github/Binaryify/NeteaseCloudMusicApi/badges/gpa.svg" /></a>
<a href="https://travis-ci.org/Binaryify/NeteaseCloudMusicApi"><img src="https://api.travis-ci.org/Binaryify/NeteaseCloudMusicApi.svg?branch=master" /></a>
</p>
</p>
![](http://binaryify.github.io/images/api.jpg)
## Start
......
......@@ -5,7 +5,7 @@ import { deepCopy } from '../util'
const getPlaylists = (id, callback) => {
const option = deepCopy(globalOption)
const url = `${origin}/api/playlist/detail?id=${id}`
const method = 'get'
const method = 'GET'
Object.assign(option, {url, method})
request(option, (err, res, body) => {
if(!err && res.statusCode == 200) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册