Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
修复登录460问题 #459
Browse files Browse the repository at this point in the history
  • Loading branch information
binaryify committed Apr 9, 2019
1 parent 055f12e commit 76be14f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# 更新日志
### 3.7.1 | 2019.04.09
- 修复登录460问题

### 3.7.0 | 2019.03.20
- 修复喜欢音乐接口参数判断问题

Expand Down
1 change: 1 addition & 0 deletions module/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const crypto = require('crypto')

module.exports = (query, request) => {
query.cookie.os = 'pc'
const data = {
username: query.email,
password: crypto.createHash('md5').update(query.password).digest('hex'),
Expand Down
1 change: 1 addition & 0 deletions module/login_cellphone.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const crypto = require('crypto')

module.exports = (query, request) => {
query.cookie.os = 'pc'
const data = {
phone: query.phone,
countrycode: query.countrycode,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "NeteaseCloudMusicApi",
"version": "3.7.0",
"version": "3.7.1",
"description": "网易云音乐 NodeJS 版 API",
"scripts": {
"start": "node app.js",
Expand Down

0 comments on commit 76be14f

Please sign in to comment.