简要描述:

  • 问卷记录数据接口

请求域名:

  • http://test.yunzshop.com

请求URL:

GET: plugin.questionnaire.api.index.indexInfo

###传输参数:

参数名 是否必须 类型 说明
record:record string 默认接口标识

###返回参数

参数名 是否必须 类型 说明
id int 记录id
score int 活动分数
integral int 奖励积分
created_at int 提交时间

###返回参数 has_one_questionnaire

参数名 是否必须 类型 说明
title string 问卷标题

###返回数据

{
    "result": 1,
    "msg": "",
    "data": {
        "index": "",
        "answer": "",
        "answerScore": "",
        "record": {
            "$list": {
                "total": 1,
                "per_page": 10,
                "current_page": 1,
                "last_page": 1,
                "next_page_url": null,
                "prev_page_url": null,
                "from": 1,
                "to": 1,
                "data": [
                    {
                        "id": 7,
                        "score": 95,
                        "integral": 10,
                        "created_at": "2020-08-10 14:24:43",
                        "questionnaire_id": 1,
                        "has_one_questionnaire": {
                            "id": 1,
                            "title": "111"
                        }
                    }
                ]
            }
        }
    }
}