mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-24 00:21:23 +08:00
@@ -0,0 +1,16 @@
|
||||
// 签到
|
||||
|
||||
/*
|
||||
0为安卓端签到 3点经验, 1为网页签到,2点经验
|
||||
签到成功 {'android': {'point': 3, 'code': 200}, 'web': {'point': 2, 'code': 200}}
|
||||
重复签到 {'android': {'code': -2, 'msg': '重复签到'}, 'web': {'code': -2, 'msg': '重复签到'}}
|
||||
未登录 {'android': {'code': 301}, 'web': {'code': 301}}
|
||||
*/
|
||||
|
||||
const createOption = require('../util/option.js')
|
||||
module.exports = (query, request) => {
|
||||
const data = {
|
||||
type: query.type || 0,
|
||||
}
|
||||
return request(`/api/point/dailyTask`, data, createOption(query))
|
||||
}
|
||||
Reference in New Issue
Block a user