91超碰碰碰碰久久久久久综合_超碰av人澡人澡人澡人澡人掠_国产黄大片在线观看画质优化_txt小说免费全本

溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點擊 登錄注冊 即表示同意《億速云用戶服務條款》

21.前臺管理考試相關接口

發布時間:2020-07-19 11:58:54 來源:網絡 閱讀:260 作者:sendoffice 欄目:web開發

21.前臺管理考試相關接口

21.1.試卷下所有試題

  • 請求

    /reportexam/allTestQuestions
    參數:
    paper_id 試卷id 必傳

  • 響應
        {
            "code": 0,
            "data": {
                "count": 1,
                "ts": 1529057248,
                "items": [
                            {
                            "id": "1",
                            "name": "1+1+1+1=?",
                            "q_options": {
                                "A": "1",
                                "B": "2",
                                "C": "3",
                                "D": "4",
                                "E": "5"
                            },
                            "paper_id": "2",
                            "type": "1",
                            "answers": "D",
                            "p_score": "10",
                            "status": "1",
                            "add_time": "2019-04-11 09:07:27",
                            "update_time": "2019-04-11 09:07:27"
                        },
                        {
                            "id": "2",
                            "name": "2+2+2=?",
                            "q_options": {
                                "A": "1",
                                "B": "2",
                                "C": "4",
                                "D": "5",
                                "E": "6"
                            },
                            "paper_id": "2",
                            "type": "1",
                            "answers": "E",
                            "p_score": "10",
                            "status": "1",
                            "add_time": "2019-04-11 09:11:27",
                            "update_time": "2019-04-11 09:11:27"
                        },
                ],
                "org_switch": true
            }
        }

21.2.每次答題統計成績并且記錄答案

每次答題統計成績并且記錄答案

  • 請求

    /Reportexam/editReportExam
    參數:

paper_id 試卷id 必傳
answer_arr 用戶所填答案(json)(試題id與答案)

?

  • 響應
    {
    "code": 0
    }

21.3.結束答題錯題展示/成績展示

  • 請求

    /reportexam/listErrorQuestion
    參數:
    paper_id 試卷id 必傳

  • 響應
        {
            "code": 0,
            "data": {
                "count": 1,
                "ts": 1529057248,
                "items": [

                ],
                "org_switch": true
            }
        }

21.4.是否可以考試

是否可以考試

  • 請求

    /Reportexam/isReportExam
    參數:

paper_id 試卷id 必傳

?

  • 響應
    {
    "code": 0
    }

21.5.考試入口題庫列表

  • 請求

    /Reportexam/listQuestionBank
    參數:

  • 響應
        {
            "code": 0,
            "data": {
                "count": 1,
                "ts": 1529057248,
                "items": [
                    {
                        "id": "3",
                        "parent_id": "0",
                        "name": "測試",
                        "status": "1",
                        "add_time": "2018-08-18 14:55:54",
                        "update_time": "2019-03-28 17:52:26",
                        "num_test_paper": 2
                    }
                ],
                "org_switch": true
            }
        }

21.6.考試入口試卷列表

  • 請求

    /Reportexam/allTestPaper
    參數:
    question_bank_id 題庫id
    page
    page_size

  • 響應
    paper_status (1 是正常狀態,2 是超過有效期 ,3 是超時,4 是已交卷)
    user_score 是成績
        {
            "code": 0,
            "data": {
                "page": 1,
                "page_size": "20",
                "pages": 2,
                "total": 40,
                "count": 20,
                "ts": 1555730974,
                "items": [
                        {
                            "id": "3",
                            "name": "測試",
                            "question_bank_id": "1",
                            "paper_score": "0",
                            "paper_time": "30",
                            "start_paper_indate": "2019-04-09 18:03:24",
                            "end_paper_indate": "2019-04-09 18:03:24",
                            "status": "1",
                            "add_time": "2019-04-09 18:03:36",
                            "update_time": "2019-04-09 18:03:36",
                            "user_score": "0",
                            "paper_status": "1",
                        },
                        {
                            "id": "2",
                            "name": "測試",
                            "question_bank_id": "1",
                            "paper_score": "0",
                            "paper_time": "30",
                            "start_paper_indate": "2019-04-09 18:03:24",
                            "end_paper_indate": "2019-04-09 18:03:24",
                            "status": "1",
                            "add_time": "2019-04-09 18:03:34",
                            "update_time": "2019-04-09 18:03:34",
                            "user_score": "0",
                            "paper_status": "1",
                        },
                        {
                            "id": "1",
                            "name": "測試",
                            "question_bank_id": "1",
                            "paper_score": "0",
                            "paper_time": "30",
                            "start_paper_indate": "2019-04-09 18:03:24",
                            "end_paper_indate": "2019-04-09 18:03:24",
                            "status": "1",
                            "add_time": "2019-04-09 18:03:24",
                            "update_time": "2019-04-09 18:03:24",
                            "user_score": "0",
                            "paper_status": "1",
                        }
                    ],
                "org_switch": true
            }
        }

21.7.結束答題(最終確認答題)

結束答題(最終確認答題)

  • 請求

    /Reportexam/okAnswer
    參數:

paper_id 試卷id 必傳

  • 響應
    {
    "code": 0
    }

21.8.結束答題返回正確答案、用戶填寫答案、答題成績

  • 請求

    /reportexam/resultTestQuestions
    參數:
    paper_id 試卷id 必傳

  • 響應
        {
            "code": 0,
            "data": {
                "count": 1,
                "ts": 1529057248,
                "items": [
                            {
                            "id": "1",
                            "name": "1+1+1+1=?",
                            "q_options": {
                                "A": "1",
                                "B": "2",
                                "C": "3",
                                "D": "4",
                                "E": "5"
                            },
                            "paper_id": "2",
                            "type": "1",
                            "p_score": "10",
                            "status": "1",
                            "add_time": "2019-04-11 09:07:27",
                            "update_time": "2019-04-11 09:07:27"
                        },
                        {
                            "id": "2",
                            "name": "2+2+2=?",
                            "q_options": {
                                "A": "1",
                                "B": "2",
                                "C": "4",
                                "D": "5",
                                "E": "6"
                            },
                            "paper_id": "2",
                            "type": "1",
                            "p_score": "10",
                            "status": "1",
                            "add_time": "2019-04-11 09:11:27",
                            "update_time": "2019-04-11 09:11:27"
                        },
                ],
                "org_switch": true
            }
        }

21.9.考過試卷的列表(我的成績)

  • 請求

    /reportexam/listReportExam
    參數:
    paper_id 試卷id
    pape
    page_size 條數

  • 響應
        {
            "code": 0,
            "data": {
                "page": 1,
                "page_size": "20",
                "pages": 2,
                "total": 40,
                "count": 20,
                "ts": 1555730974,
                "items": [
                        {
                            "id": "7",
                            "uid": "88",
                            "paper_id": "10",
                            "paper_name": null,
                            "paper_score": "60",
                            "u_score": "0",
                            "is_paper": "1",
                            "answer_result": null,
                            "start_answer_time": "2019-04-13 10:16:39",
                            "end_answer_time": "2019-04-13 15:51:42",
                            "add_time": "2019-04-13 10:16:39",
                            "update_time": "2019-04-13 15:51:42",
                            "start_paper_indate": "2019-04-13 00:00:00",
                            "end_paper_indate": "2019-05-13 00:00:00"
                        },
                        {
                            "id": "9",
                            "uid": "88",
                            "paper_id": "11",
                            "paper_name": null,
                            "paper_score": "98",
                            "u_score": "0",
                            "is_paper": "1",
                            "answer_result": null,
                            "start_answer_time": "2019-04-13 15:58:21",
                            "end_answer_time": "2019-04-13 16:01:01",
                            "add_time": "2019-04-13 15:58:21",
                            "update_time": "2019-04-13 16:01:01",
                            "start_paper_indate": "2019-04-13 00:00:00",
                            "end_paper_indate": "2019-04-27 00:00:00"
                        },
                ],
                "org_switch": true
            }
        }

21.10.考過試卷的列表(我的成績)

  • 請求

    /manage/userReportExam
    參數:
    paper_id 試卷id
    pape
    page_size 條數

  • 響應
        {
                "code": 0,
                "data": {
                    "page": 1,
                    "page_size": 1000,
                    "pages": 1,
                    "total": 2,
                    "count": 2,
                    "ts": 1555743313,
                    "items": [
                        {
                            "id": "10",
                            "uid": "88",
                            "paper_id": "12",
                            "paper_name": null,
                            "paper_score": "109",
                            "u_score": "0",
                            "is_paper": "1",
                            "answer_result": null,
                            "start_answer_time": "2019-04-13 16:05:27",
                            "end_answer_time": "2019-04-13 17:29:15",
                            "add_time": "2019-04-13 16:05:27",
                            "update_time": "2019-04-13 17:29:15"
                        },
                        {
                            "id": "16",
                            "uid": "10",
                            "paper_id": "12",
                            "paper_name": null,
                            "paper_score": "109",
                            "u_score": "60",
                            "is_paper": "1",
                            "answer_result": "{\"22\":\"AB\",\"23\":\"ABC\",\"24\":\"A\"}",
                            "start_answer_time": "2019-04-13 18:30:59",
                            "end_answer_time": "2019-04-13 18:31:44",
                            "add_time": "2019-04-13 18:30:59",
                            "update_time": "2019-04-15 15:08:29"
                        }
                    ],
                    "org_switch": true
                }
        }
向AI問一下細節

免責聲明:本站發布的內容(圖片、視頻和文字)以原創、轉載和分享為主,文章觀點不代表本網站立場,如果涉及侵權請聯系站長郵箱:is@yisu.com進行舉報,并提供相關證據,一經查實,將立刻刪除涉嫌侵權內容。

AI

罗平县| 普安县| 时尚| 梧州市| 陈巴尔虎旗| 孝感市| 平南县| 北碚区| 禹州市| 莱州市| 宿松县| 库伦旗| 黑水县| 天台县| 娄底市| 平泉县| 南靖县| 云龙县| 合作市| 右玉县| 偃师市| 营山县| 夏河县| 和田市| 通辽市| 林西县| 桓台县| 汤原县| 锦州市| 济阳县| 阳谷县| 崇阳县| 抚州市| 宜丰县| 隆德县| 县级市| 喜德县| 惠州市| 游戏| 临澧县| 贵定县|