HTTP/HTTPS
请求协议
东梦接口平台 / 究极院APP-V3 / 获取每日任务数据
获取每日任务数据
接口地址:https://dmapi.v3.doyure.com/api/ultima.php?s=Ultima.UserStarTask.GetEverydayTask
接口描述: 系统自动根据每个学员的里程碑关卡,推送每日任务的数据
接口参数
| 参数名字 | 类型 | 是否必须 | 默认值 | 其他 | 说明 |
|---|---|---|---|---|---|
| token | 字符串 | 可选 | - | token, 登录接口返回的token值 | |
| typeId | 字符串 | 可选 | - | 每日任务类型id |
返回字段
| 返回结果 | 类型 | 说明 |
|---|---|---|
| ret | 整型 | 状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误 |
| data | 对象或混合类型 | 业务数据,由各自接口指定,通常为对象 |
| msg | 字符串 | 提示信息,失败时的错误提示 |
在线测试
| 参数 | 是否必须 | 值 |
|---|---|---|
| service | 必须 | |
| token | 可选 | |
| typeId | 可选 |
客户端请求示例
{
"ret": 200,
"data": [
{ // 第一个游戏:梦乐团1
"id": 350,
"milestone_id": 270,
"title": "里程碑-梦乐团30",
"ability_id": 8,
"game_type": "dream",
"task_no": "30",
"img": "https://static.doyure.com/dmapi/milestone/dream/img/30.png",
"file_type": "text",
"file_path": "7764,7765,7766,7767,7768,7769",
"every_beat": 4,
"is_split": null,
"speed": 68,
"tonality": null,
"gamut": "4/4",
"interval_span": null,
"temp_lifting": null,
"change_hand": null,
"begin_finger": null,
"note_total": null,
"note_pass_num": null,
"sort": 30,
"star_1": "80.0",
"star_2": "90.0",
"star_3": "95.0",
"memo": null,
"created_at": "2023-08-23 12:00:00",
"updated_at": "2023-08-23 12:00:00",
"deleted_at": null,
"games": {
"main_title": "每日任务 - 梦乐团",
"subtitle": "每日任务 - 梦乐团",
"intro": "https://static.doyure.com/dmapi/games/myt.png",
"rank": 0,
"game_id": 10,
"duration": 60,
"type": 4,
"type_desc": "游戏",
"files": "",
"games": {
"id": 10,
"game_id": 10,
"game_name": "梦乐团",
"game_tour": "https://static.doyure.com/dmapi/games/myt.png"
},
"game_tour": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png",
"subjects": [
{
"uid": "12ad0ee1013f59a27afa907d9a61492e44851ca1",
"rank": 0,
"games": [
{
"id": 7764,
"file": "https://static.doyure.com/dmapi/GT-13-5/1.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
},
{
"id": 7765,
"file": "https://static.doyure.com/dmapi/GT-13-5/2.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
},
{
"id": 7766,
"file": "https://static.doyure.com/dmapi/GT-13-5/3.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
},
{
"id": 7767,
"file": "https://static.doyure.com/dmapi/GT-13-5/4.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
},
{
"id": 7768,
"file": "https://static.doyure.com/dmapi/GT-13-5/5.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
},
{
"id": 7769,
"file": "https://static.doyure.com/dmapi/GT-13-5/6.mxl",
"file_type": "xml",
"json": "",
"rank": 13.5,
"img": ""
}
]
}
],
"bgm": {
"file": "http://static.doyure.com/dmapi/dmapi/d0ad520220726105228.mp3",
"title": "梦乐团13-5-1",
"min_interval": "0.876",
"min_intervals": [
"7.209",
"42.148",
"77.313",
"115.938",
"150.771",
"185.767"
],
"pre_beat_num": "4",
"total_parts": 32,
"tonality": "",
"rhythm": [
"1"
],
"parts": [
"7.209",
"42.148",
"77.313",
"115.938",
"150.771",
"185.767"
],
"isMetronome": 1
}
}
},
{// 第一个游戏:梦乐团2
"id": 468,
"milestone_id": 270,
"title": "里程碑-梦乐团30-4",
"ability_id": 8,
"game_type": "dream",
"task_no": "30",
"img": "https://static.doyure.com/dmapi/milestone/dream/img/30.png",
"file_type": "text",
"file_path": "7782,7783,7784,7785,7786,7787",
"every_beat": 4,
"is_split": null,
"speed": 68,
"tonality": null,
"gamut": "4/4",
"interval_span": null,
"temp_lifting": null,
"change_hand": null,
"begin_finger": null,
"note_total": null,
"note_pass_num": null,
"sort": 30,
"star_1": "80.0",
"star_2": "90.0",
"star_3": "95.0",
"memo": null,
"created_at": "2023-08-23 12:00:00",
"updated_at": "2023-08-26 15:40:48",
"deleted_at": null,
"games": {
"main_title": "每日任务 - 梦乐团",
"subtitle": "每日任务 - 梦乐团",
"intro": "https://static.doyure.com/dmapi/games/myt.png",
"rank": 0,
"game_id": 10,
"duration": 60,
"type": 4,
"type_desc": "游戏",
"files": "",
"games": {
"id": 10,
"game_id": 10,
"game_name": "梦乐团",
"game_tour": "https://static.doyure.com/dmapi/games/myt.png"
},
"game_tour": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png",
"subjects": [
{
"uid": "12ad0ee1013f59a27afa907d9a61492e44851ca1",
"rank": 0,
"games": [
{
"id": 7782,
"file": "https://static.doyure.com/dmapi/GT-13-8/1.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
},
{
"id": 7783,
"file": "https://static.doyure.com/dmapi/GT-13-8/2.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
},
{
"id": 7784,
"file": "https://static.doyure.com/dmapi/GT-13-8/3.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
},
{
"id": 7785,
"file": "https://static.doyure.com/dmapi/GT-13-8/1.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
},
{
"id": 7786,
"file": "https://static.doyure.com/dmapi/GT-13-8/2.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
},
{
"id": 7787,
"file": "https://static.doyure.com/dmapi/GT-13-8/3.mxl",
"file_type": "xml",
"json": "",
"rank": 13.8,
"img": "https://static.doyure.com/dmapi/matches/kt/MYT-key.png"
}
]
}
],
"bgm": {
"file": "http://static.doyure.com/dmapi/dmapi/8e2b420220727152304.mp3",
"title": "梦乐团13-8-1",
"min_interval": "0.642",
"min_intervals": [
"31.62",
"68.475",
"110.458",
"152.593",
"194.361",
"236.221"
],
"pre_beat_num": "4",
"total_parts": 32,
"tonality": "",
"rhythm": [
"1"
],
"parts": [
"31.62",
"68.475",
"110.458",
"152.593",
"194.361",
"236.221"
],
"isMetronome": 1
}
}
},
{ // 第三个游戏:手指灵活
"main_title": "每日任务 - 梦乐团",
"subtitle": "每日任务 - 梦乐团",
"intro": "https://static.doyure.com/dmapi/games/myt.png",
"rank": 0,
"game_id": 10,
"duration": 60,
"type": 4,
"type_desc": "游戏",
"files": "",
"games": {
"id": 10,
"game_id": 10,
"game_name": "梦乐团",
"game_tour": "https://static.doyure.com/dmapi/games/myt.png",
"subjects": [
{
"uid": "12ad0ee1013f59a27afa907d9a61492e44851ca1",
"rank": 0,
"games": [
{
"id": 318,
"file": "https://static.doyure.com/dmapi/milestone/finger/xml/58.xml",
"file_type": "xml",
"json": "",
"rank": 0,
"img": "https://static.doyure.com/dmapi/milestone/finger/img/58.png"
}
]
}
],
"bgm": {
"file": "",
"title": "梦乐团游戏",
"min_interval": 0.2542,
"min_intervals": [],
"beats": "4/4",
"pre_beat_num": 4,
"total_parts": "",
"tonality": "",
"parts": null,
"isMetronome": 1,
"speed": 236,
"move_interval": 0.2542,
"move_speed": 236
}
}
},
{ // 第四个游戏:随机出现(单音、连续音、节奏)
"id": 29,
"milestone_id": 29,
"title": "里程碑-视奏单音29",
"ability_id": 2,
"game_type": "sight",
"task_no": "29",
"img": "https://static.doyure.com/dmapi/star_task/sight/MS-SR-29.png",
"file_type": "text",
"file_path": "33-1,35-1,36-1,38-1,40-1,41-1,43-1,45-1,47-1,48-1,50-1,52-1,53-1,53-13,55-1,57-1,57-8,59-25,60-15,60-14,62-1,62-14,64-9,64-16,65-18,67-1,69-1,59-18,71-1,72-1,74-1,76-1,77-1,79-1,81-1,83-1,84-1,86-1,88-1,89-1,91-1|70%|42-2,42-1,44-2,44-1,46-1,46-2,47-2,49-1,49-2,51-1,51-2,53-2,54-1,54-2,54-12,56-1,56-13,56-14,58-10,58-9,58-1,58-2,59-1,59-8,61-1,61-2,61-3,61-4,63-1,63-13,63-14,65-1,65-6,66-1,66-2,63-2,63-14,70-1,70-2,73-1,75-2,78-1,78-2,82-1,82-2|30%",
"note_pass_num": null,
"sort": 29,
"star_1": "43.0",
"star_2": "52.0",
"star_3": "65.0",
"memo": null,
"created_at": "2023-03-15 15:00:00",
"updated_at": "2023-08-23 15:33:09",
"deleted_at": null,
"main_title": "今日任务 - 视奏大作战",
"subtitle": "今日任务 - 视奏大作战",
"intro": "https://static.doyure.com/dmapi/games/szdzz.png",
"rank": 0,
"game_id": 14,
"duration": 60,
"type": 4,
"type_desc": "游戏",
"files": "",
"games": {
"id": 14,
"game_id": 14,
"game_name": "视奏大作战",
"game_tour": "https://static.doyure.com/dmapi/games/jzdtz.png",
"notes": [
{
"id": 0,
"name": "gaming_rhy_s_74-1",
"num": "74-1"
},
{
"id": 0,
"name": "gaming_rhy_s_71-1",
"num": "71-1"
},
{
"id": 0,
"name": "gaming_rhy_s_62-1",
"num": "62-1"
},
{
"id": 0,
"name": "gaming_rhy_s_74-1",
"num": "74-1"
},
......
],
"notes2": [],
"bgm": {
"file": "http://static.doyure.com/dmapi/dmapi/b20d220220927142946.mp3",
"title": "视奏大作战背景音乐",
"min_interval": 0,
"min_intervals": [],
"pre_beat_num": 0,
"total_parts": 0,
"tonality": "",
"parts": [],
"isMetronome": 0,
"speed": 0,
"rate": 1
},
"tolerant_times": 120,
"drop_num": 3,
"drop_gap": 7
}
}
],
"msg": ""
}错误列表
| 错误状态码 | 错误描述信息 |
|---|---|
| 400 | ret=400,客户端参数错误或非法请求 |
| 404 | 表示接口服务不存在 |
| 406 | ret=406,access_token令牌校验不通过 |
| 407 | ret=407,app_key权限不足,或未知应用 |
| 408 | ret=408,当前用户禁止使用,或用户未登录 |
| 500 | 表示服务端内部错误 |
本文档生成时间:2025-12-26 15:22:54