You need to sign in or sign up before continuing.
yong-hu-xue-qi.md 3.05 KB

接口地址

{server}/user/{user_id}/semester/report/course

GET请求

参数 类型 必填 说明 示例
user_id Long 用户id
md5 String md5(user_id+semester)
semester String MONTH,SEMESTER,ALL
start_line String 学期开始时间 2017-01-01

成功 返回值

类型 必填 说明 示例
multiword map 词义相关数据
phrase map 短句相关数据
course map 课程相关数据
semesterReport map 学期预期学习报告

成功返回值

参数 类型 必填 说明 示例
multiword map 词义相关数据
phrase map 短句相关数据
course map 课程相关数据
semesterReport map 学期预期学习报告

成功 200

{
    "phrase": {
        "list": [
            "alarm clock",
            "no longer"
        ],
        "count": 23
    },
    "course": {
        "list": {
            "WORD": [{
                "courseName": "Unit4 Where is my backpack? 2",
                "cover": "f02a5a3f30563b76fac8d4065c6d3cfd",
                "courseId": "L3NoYXJlL3N2bi_kurrmlZnkuIPkuIog6K-N5rGHLzAwNy5Vbml0NCBXaGVyZSBpcyBteSBiYWNrcGFjaz8gMi54bHN4"
            }],
            "CONVERSATION": [{
                "courseName": "你希望手机能有什么新功能?",
                "cover": "9a458171554e6a5cd14088c191fb9533",
                "courseId": "L3NoYXJlL3N2bi9MZXZlbCA2X0NvbnZlcnNhdGlvbjQvMDA1LuS9oOW4jOacm-aJi-acuuiDveacieS7gOS5iOaWsOWKn-iDve-8ny54bHN4"
            }]
        },
        "type": [
            "CONVERSATION",
            "WORD"
        ],
        "count": 2
    },
    "multiword": {
        "count": 10,
        "list": {
            "托福雅思": [
                "quantum n.",
                "respiratory adj."
            ],
            "高中": [
                "wrinkle n.",
                "physicist n."
            ],
            "其它": [
                "gymnast n.",
                "yoga n."
            ],
            "初中": [
                "of prep.",
                "the other."
            ],
            "大学四六级": [
                "accord v.",
                "perception n."
            ],
            "小学": [
                "science n.",
                "he pron."
            ]
        },
        "type": [
            "托福雅思",
            "大学四六级",
            "高中",
            "初中",
            "小学",
            "其它"
        ]
    },
    "semesterReport": {
        "level": "LEVEL_4",
        "targetF": "能向外教表明对某事的态度",
        "contentF": "比较事物/进行选择/该怎么办/开玩笑/表达对某事的态度...",
        "targetAmount": 80,
        "finishedAmount": 3
    }
}

失败

400

参数 错误,md5 参数错误

404

用户 没有报告