Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
amywang_xiannv
NeteaseCloudMusicApi
提交
330444ee
N
NeteaseCloudMusicApi
项目概览
amywang_xiannv
/
NeteaseCloudMusicApi
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
N
NeteaseCloudMusicApi
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
330444ee
编写于
6月 29, 2019
作者:
B
binaryify
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
v3.18.0 新增 `更换绑定手机接口` #518
上级
fcdbfbe1
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
52 addition
and
8 deletion
+52
-8
CHANGELOG.MD
CHANGELOG.MD
+10
-0
README.MD
README.MD
+1
-0
docs/README.md
docs/README.md
+24
-7
module/captcha_sent.js
module/captcha_sent.js
+0
-0
module/captcha_verify.js
module/captcha_verify.js
+0
-0
module/rebind.js
module/rebind.js
+16
-0
module/register_cellphone.js
module/register_cellphone.js
+0
-0
package.json
package.json
+1
-1
未找到文件。
CHANGELOG.MD
浏览文件 @
330444ee
# 更新日志
### 3.18.0 | 2019.06.29
-
新增
`更换绑定手机接口`
#### Breaking change
1.
调整注册接口由
`/captch/register`
修改为
`/register/cellphone`
2.
调整发送短信接口由
`/captch/sent`
修改为
`/captcha/sent`
3.
调整短信验证接口由
`/captch/verify`
修改为
`/captcha/verify`
### 3.17.0 | 2019.06.29
-
新增
`专辑动态信息`
`热搜列表(详细)`
接口,更新文档
...
...
README.MD
浏览文件 @
330444ee
...
...
@@ -143,6 +143,7 @@
120.
收藏/取消收藏专辑
121.
专辑动态信息
122.
热搜列表(详细)
123.
更换绑定手机
## 环境要求
...
...
docs/README.md
浏览文件 @
330444ee
...
...
@@ -138,6 +138,7 @@
120.
收藏/取消收藏专辑
121.
专辑动态信息
122.
热搜列表(详细)
123.
更换绑定手机
## 安装
...
...
@@ -305,9 +306,9 @@ Cookies
**可选参数 :**
`ctcode`
: 国家区号,默认86即中国
**接口地址 :**
`/captch/sent`
**接口地址 :**
`/captch
a
/sent`
**调用例子 :**
`/captch/sent?phone=13xxx`
**调用例子 :**
`/captch
a
/sent?phone=13xxx`
...
...
@@ -323,16 +324,16 @@ Cookies
`ctcode`
: 国家区号,默认86即中国
**接口地址 :**
`/captch/verify`
**接口地址 :**
`/captch
a
/verify`
**调用例子 :**
`/captch/verify?phone=13xxx&captcha=1597`
**调用例子 :**
`/captch
a
/verify?phone=13xxx&captcha=1597`
### 注册(修改密码)
说明 : 调用此接口 ,传入手机号码和验证码,密码,昵称, 可注册网易云音乐账号(同时可修改密码)
**必选参数 :**
`phone`
: 手机号码
**必选参数 :**
`captcha`
: 验证码
...
...
@@ -342,9 +343,25 @@ Cookies
`nickname`
: 昵称
**接口地址 :**
`/captch/register`
**接口地址 :**
`/register/cellphone`
**调用例子 :**
`/register/cellphone?phone=13xxx&password=xxxxx&captcha=1234&nickname=binary1345`
### 更换绑定手机
说明 : 调用此接口 ,可更换绑定手机(流程:先发送验证码到原手机号码,再发送验证码到新手机号码然后再调用此接口)
**必选参数 :**
`oldcaptcha`
: 原手机验证码
`captcha`
: 新手机验证码
`phone`
: 手机号码
`ctcode`
: 国家区号,默认86即中国
**接口地址 :**
`/rebind`
**调用例子 :**
`/
captch/register?phone=13xxx&password=xxxxx&captcha=1234&nickname=binary1345
`
**调用例子 :**
`/
rebind?phone=xxx&oldcaptcha=1234&captcha=5678
`
### 退出登录
...
...
module/captch_sent.js
→
module/captch
a
_sent.js
浏览文件 @
330444ee
文件已移动
module/captch_verify.js
→
module/captch
a
_verify.js
浏览文件 @
330444ee
文件已移动
module/rebind.js
0 → 100644
浏览文件 @
330444ee
// 更换手机
module
.
exports
=
(
query
,
request
)
=>
{
const
data
=
{
captcha
:
query
.
captcha
,
phone
:
query
.
phone
,
oldcaptcha
:
query
.
oldcaptcha
,
ctcode
:
query
.
ctcode
||
"
86
"
};
return
request
(
"
POST
"
,
`https://music.163.com/api/user/replaceCellphone`
,
data
,
{
crypto
:
"
weapi
"
,
cookie
:
query
.
cookie
,
proxy
:
query
.
proxy
}
);
};
module/
captch_register
.js
→
module/
register_cellphone
.js
浏览文件 @
330444ee
文件已移动
package.json
浏览文件 @
330444ee
{
"name"
:
"NeteaseCloudMusicApi"
,
"version"
:
"3.1
7
.0"
,
"version"
:
"3.1
8
.0"
,
"description"
:
"网易云音乐 NodeJS 版 API"
,
"scripts"
:
{
"start"
:
"node app.js"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录