东梦接口平台 / 究极院后台 - 模块/阶/课程/题库 / 详情

详情

接口描述: 练习题详情

HTTP/HTTPS
请求协议
GET/POST
请求方式
UTF-8
编码格式
JSON
返回格式

接口参数

参数名字类型是否必须默认值其他说明
token字符串必须-token, 登录接口返回的token值
id字符串必须-数据源:POST练习题id

返回字段

返回结果类型说明
ret整型状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误
data对象或混合类型业务数据,由各自接口指定,通常为对象
msg字符串提示信息,失败时的错误提示

在线测试   

参数是否必须
service 必须
token 必须
id 必须

客户端请求示例

{
    "ret": 200,
    "data": {
        "id": 2532,
        "title": "右四分1~5指",
        "klids": null,
        "file_type": "image",
        "file_path": "http://static.doyure.com/res/219619c4d989315356bdbb44a5e122ef86b34d8a.png,http://static.doyure.com/res/9c21431b97b46fb979214ff01788007c1618bc14.png,http://static.doyure.com/res/cba856d3b143e1a337b5cb45e5af704876b061bb.png,http://static.doyure.com/res/7858b2275ee6cd3095b9bb2ddb3b5ad8ac9e1aad.png,http://static.doyure.com/res/1b4ec3d520d1ce98d2994fec769b151ccd6034e7.png,http://static.doyure.com/res/6de7af9035b0f19b50701079a286c87a6294ea7f.png,http://static.doyure.com/res/282bd8acc8dd0a69d9ddca4f51ff39f3837f5a0d.png,http://static.doyure.com/res/ee617f99c7fa029b6dd27cb9072cc109a6d67667.png",
        "created_at": "2021-08-11 18:58:17",
        "updated_at": "2021-10-07 15:30:00",
        "deleted_at": null,
        "subject_num": null,
        "module_id": 3,
        "rhythm": null,
        "remark": null,
        "sort": 1,
        "is_akey": 0,
        "difficult": 0,
        "img": "http://static.doyure.com/res/f6d3a25237b9481e20c02b91eb335e526b3425ba.png",
        "magic_attr": 0,
        "is_whole": 0,
        "interval_min_time": "1.20",
        "beat_num": 4,
        "bluetooth_time": "6.00",
        "interval_time": "10.80",
        "time_data": "[[9.8, 11.0, 12.2, 13.4],[24.2, 25.4, 26.6, 27.8],[38.6, 39.8, 41.0, 42.2],[53.0, 54.2, 55.4, 56.6],[67.4, 68.6, 69.8, 71],[81.8, 83.0, 84.2, 85.4],[96.2, 97.4, 98.6, 99.8], [110.6, 111.8, 113, 114.2]]",
        "midi_data": "[[C3, D3, E3, F3],[C3, D3, E3, G3],[C3, D3, G3, F3], [C3, E3, D3, C3],[C3, E3, D3, C3],[C3, D3, D3, C3],[C3, D3, D3, E3],[C3, D3, E3, C3]]",
        "audio_src": "http://1400192289.vod2.myqcloud.com/fb142746vodcq1400192289/d373edaf3701925923347808955/ezhYOvxv3HIA.mp3",
        "rhythms_total": 0,
        "pre_beat": 0,
        "module": {
            "id": 3,
            "modules_name": "视奏",
            "parent_id": 0,
            "rule_intro": "视奏规则",
            "file_type": "text",
            "file_path": "http://static.doyure.com/res/020b7e2a47a24da330c236242c9afc6fd60cc63a.png",
            "limit_time": 0,
            "card_num": 0,
            "created_at": "2020-05-19 16:20:38",
            "updated_at": "2020-05-19 16:20:38",
            "deleted_at": null
        },
        "questions": [],
        "accompanys": [
            {
                "id": 1,
                "title": "背景音乐001",
                "file_type": "mp3",
                "file_path": "http://xxxxxx/ddd/aa.mp3",
                "parts": "[1.2,2.2],[2.2,3.3],[3.4,4.5],[5.1,6.3]",
                "min_interval": 1.1,
                "created_at": "2021-12-22 10:54:49",
                "updated_at": "2021-12-22 10:54:49",
                "deleted_at": null,
                "part_no": 2,
                "part": "2.2,3.3",
                "parts_arr": [
                    "1.2,2.2",
                    "2.2,3.3",
                    "3.4,4.5",
                    "5.1,6.3"
                ]
            },
            {
                "id": 3,
                "title": "背景音乐003",
                "file_type": "mp3",
                "file_path": "http://xxxxxx/ddd/003.mp3",
                "parts": "[1.2,2.2],[2.2,3.3],[3.4,4.5],[5.1,6.3]",
                "min_interval": 1,
                "created_at": "2021-12-22 10:55:54",
                "updated_at": "2021-12-22 10:55:54",
                "deleted_at": null,
                "part_no": 3,
                "part": "3.4,4.5",
                "parts_arr": [
                    "1.2,2.2",
                    "2.2,3.3",
                    "3.4,4.5",
                    "5.1,6.3"
                ]
            }
        ],
        "knowledge": [
            {
                "id": 663,
                "created_at": "2021-08-17 18:15:54",
                "updated_at": "2021-08-17 18:17:35",
                "deleted_at": null,
                "kl_name": "复习-1",
                "type": 0,
                "klt_id": 32,
                "rank_id": 1,
                "module_id": 3,
                "img": "http://static.doyure.com/res/5a9a610487f2fb9c4253eeff5f3a2f9a7b84828e.png",
                "limit_time": 0,
                "sort": 5,
                "is_akey": 0,
                "difficult": null,
                "file_type": "image",
                "file_path": "http://static.doyure.com/res/38adffda470b20841f1b0c7c9cbeb00ffb5a6f61.png",
                "intro": null,
                "subject_ids": null,
                "audio_src": null
            },
            {
                "id": 664,
                "created_at": "2021-08-17 18:16:38",
                "updated_at": "2021-08-17 18:17:45",
                "deleted_at": null,
                "kl_name": "复习-2",
                "type": 0,
                "klt_id": 32,
                "rank_id": 1,
                "module_id": 3,
                "img": "http://static.doyure.com/res/d32ea928c17bb1591d78823b8e0c6a15eb368943.png",
                "limit_time": 0,
                "sort": 6,
                "is_akey": 0,
                "difficult": null,
                "file_type": "image",
                "file_path": "http://static.doyure.com/res/5e22b83cd00c2d3125ee9958672318bea0e6261b.png",
                "intro": null,
                "subject_ids": null,
                "audio_src": null
            },
            {
                "id": 665,
                "created_at": "2021-08-17 18:17:20",
                "updated_at": "2021-08-17 18:17:57",
                "deleted_at": null,
                "kl_name": "复习-3",
                "type": 0,
                "klt_id": 9,
                "rank_id": 1,
                "module_id": 3,
                "img": "http://static.doyure.com/res/e61162c2007363e14c25b903892cae4645b47501.png",
                "limit_time": 0,
                "sort": 7,
                "is_akey": 0,
                "difficult": null,
                "file_type": "image",
                "file_path": "http://static.doyure.com/res/a7e735430d618f652abe836ddc493b368e60952e.png",
                "intro": null,
                "subject_ids": null,
                "audio_src": null
            }
        ]
    },
    "msg": ""
}

错误列表

错误状态码错误描述信息
400ret=400,客户端参数错误或非法请求
404表示接口服务不存在
406ret=406,access_token令牌校验不通过
407ret=407,app_key权限不足,或未知应用
408ret=408,当前用户禁止使用,或用户未登录
500表示服务端内部错误

本文档生成时间:2025-12-26 17:21:22