@host = 45.152.67.125:8085/cr


###
# 提交学习时长
# 成功返回
# {
#     "errorNo": 200,
#     "result": true,
#     "errorDesc": ""
# }
# 失败返回
# {
#     "errorNo": 200,
#     "result": false,
#     "errorDesc": "错误描述"
# }
GET http://{{host}}/user/learn/inc?t=1 HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw


###
# 创建考核记录
POST http://{{host}}/exam/history/create HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjM1MzA5MzAsImlkIjoiNjY4YmFhODc0MGQwYWFiYjc1YTIwNjQ4Iiwib3JpZ19pYXQiOjE3MjI5MjYxMzB9.K3KYJipWSPYQbOayWBwqz1oasZrmsFf6Yh2kAt4btag


{
    "examRecord": [
        {
            "title":"xxxx",
            "result": "正确"
        }
    ],
    "totalScore": 93,
    "correct": 18,
    "mistake": 2
}

###
# 查询考核历史,如果query中没有userId则查询当前登录用户的
GET http://{{host}}/exam/history/list?page=1&size=10&query={"userId": "xxx"} HTTP/1.1
Content-Type: application/json
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MjI4MjU4OTIsImlkIjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0Iiwia2V5IjoiYm94Y29zdCIsIm5hbWUiOiLlrZnog5wiLCJvcmlnX2lhdCI6MTcyMjIyMTA5MiwicGFyZW50IjoiNjQyYTUyNGY1ZjUwYmM5MDNmOTg2Mzk0IiwicGhvbmUiOiIxMzQwODU0NzgyMyIsInJvbGUiOiIiLCJzdGF0ZSI6MSwidXNlclR5cGUiOjJ9.Cz7qI3-Vah0io5ZLIFDyVOf8qsqdmbT8WHdprrjbdXw

