提交 509755a3 编写于 作者: C chen_10

增加音乐人签到接口;修正文档错误

上级 462af30e
......@@ -232,14 +232,15 @@
214. vip任务
215. 领取vip成长值
216. 歌手粉丝
216. 数字专辑详情
217. 数字专辑销量
218. 音乐人数据概况
219. 音乐人播放趋势
220. 音乐人任务
221. 账号云豆数
222. 领取云豆
223. 获取 VIP 信息
217. 数字专辑详情
218. 数字专辑销量
219. 音乐人数据概况
220. 音乐人播放趋势
221. 音乐人任务
222. 账号云豆数
223. 领取云豆
224. 获取 VIP 信息
225. 音乐人签到
## 安装
......@@ -3441,7 +3442,7 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
### 音乐人任务
说明 : 音乐人登录后调用此接口 , 可获取音乐人任务
说明 : 音乐人登录后调用此接口 , 可获取音乐人任务。返回的数据中`status`字段为任务状态,0表示任务未开始,10表示任务正在进行中,20表示任务完成,但未领取云豆,100表示任务完成,并且已经领取了相应的云豆
**接口地址 :** `/musician/tasks`
......@@ -3467,7 +3468,7 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :** `/musician/cloudbean/obtain?id=7036416928&period=1`
# 获取 VIP 信息
### 获取 VIP 信息
说明: 登录后调用此接口,可获取当前 VIP 信息。
......@@ -3475,6 +3476,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :** `/vip/info`
### 音乐人签到
说明: 音乐人登录后调用此接口,可以完成“登录音乐人中心”任务,然后通过`/musician/cloudbean/obtain`接口可以领取相应的云豆。
**接口地址 :** `/musician/sign`
**调用例子 :** `/musician/sign`
## 离线访问此文档
此文档同时也是 Progressive Web Apps(PWA), 加入了 serviceWorker, 可离线访问
......
......@@ -1505,7 +1505,7 @@ export function musician_play_trend(
} & RequestBaseConfig,
): Promise<Response>
export function musician_tasksss(params: RequestBaseConfig): Promise<Response>
export function musician_tasks(params: RequestBaseConfig): Promise<Response>
export function musician_cloudbean(params: RequestBaseConfig): Promise<Response>
......@@ -1517,3 +1517,5 @@ export function musician_cloudbean_obtain(
): Promise<Response>
export function vip_info(params: RequestBaseConfig): Promise<Response>
export function musician_sign(params: RequestBaseConfig): Promise<Response>
// 音乐人签到
module.exports = (query, request) => {
const data = {}
return request(
'POST',
`https://music.163.com/weapi/creator/user/access`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册