交卷

接口地址:/exam/submit

请求方式 post

参数:

  • paper_id 试卷id

  • answer 用户提交的答案,qlist就是试题列表

    [
      {
          "device_cid": 1,
          "qlist": [
              {
                  "id": 1,
                  "answer": [1]
              },
              {
                  "id": 2,
                  "answer": [1]
              }
          ]
      },
      {
          "device_cid": 2,
          "qlist": [
              {
                  "id": 1,
                  "answer": [1]
              },
              {
                  "id": 2,
                  "answer": [1]
              }
          ]
      }
    ]

返回格式:

Last updated

Was this helpful?