提交 5eb99203 编写于 作者: B binaryify

增加邮箱登录注意

上级 a0114df4
...@@ -127,7 +127,7 @@ $ set PORT=4000 && node app.js ...@@ -127,7 +127,7 @@ $ set PORT=4000 && node app.js
`/login/cellphone?phone=xxx&password=yyy` `/login/cellphone?phone=xxx&password=yyy`
#### 2. 邮箱登录 #### 2. 邮箱登录
注意:此接口被网易和谐了,待修复,暂时使用手机登录(2017.05.20)
**必选参数:** **必选参数:**
`email`: 163网易邮箱 `email`: 163网易邮箱
`password`: 密码 `password`: 密码
......
...@@ -13,10 +13,11 @@ router.get("/", (req, res) => { ...@@ -13,10 +13,11 @@ router.get("/", (req, res) => {
'password': md5sum.digest('hex'), 'password': md5sum.digest('hex'),
'rememberLogin': 'true' 'rememberLogin': 'true'
} }
console.log(email,req.query.password);
createWebAPIRequest( createWebAPIRequest(
'music.163.com', 'music.163.com',
'/weapi/login', '/weapi/login?csrf_token=',
'POST', 'POST',
data, data,
cookie, cookie,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册