test(work): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-06-05 21:34:20 +08:00
parent 6ec8001bac
commit 40a9c22420
23 changed files with 340 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
{
"type": 1,
"userids": [
"userid1",
"userid2"
]
}

View File

@@ -0,0 +1,17 @@
{
"errcode": 0,
"errmsg": "ok",
"result_list": [
{
"errcode": 0,
"errmsg": "ok",
"userid": "userid1",
"qrcode_data": "QRCODE_DATA"
},
{
"errcode": 1,
"errmsg": "record not found",
"userid": "userid1"
}
]
}

View File

@@ -0,0 +1,5 @@
{
"date": "2020-03-27",
"next_key": "NEXT_KEY",
"limit": 100
}

View File

@@ -0,0 +1,61 @@
{
"errcode": 0,
"errmsg": "ok",
"health_infos": [
{
"userid": "zhangsan",
"health_qrcode_status": 1,
"self_submit": 2,
"report_values": [
{
"question_id": 1,
"single_chose": 1
},
{
"question_id": 2,
"text": "浑身难受"
}
]
},
{
"userid": "lisi",
"health_qrcode_status": 2,
"self_submit": 1,
"report_values": [
{
"question_id": 1,
"single_chose": 2
}
]
}
],
"question_templates": [
{
"question_id": 1,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_must_fill": 1,
"is_not_display": 2,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
},
{
"question_id": 2,
"title": "具体哪里不适?(第一题为没有的可以不答)",
"question_type": 1,
"is_must_fill": 2,
"is_not_display": 2
}
],
"template_id": "XXXXXXXXXXXXXXXXX",
"ending": 1,
"next_key": "NEXT_KEY"
}

View File

@@ -0,0 +1,5 @@
{
"date": "2020-03-27",
"next_key": "NEXT_KEY",
"limit": 100
}

View File

@@ -0,0 +1,61 @@
{
"errcode": 0,
"errmsg": "ok",
"health_infos": [
{
"userid": "zhangsan",
"health_qrcode_status": 1,
"self_submit": 2,
"report_values": [
{
"question_id": 1,
"single_chose": 1
},
{
"question_id": 2,
"text": "浑身难受"
}
]
},
{
"userid": "lisi",
"health_qrcode_status": 2,
"self_submit": 1,
"report_values": [
{
"question_id": 1,
"single_chose": 2
}
]
}
],
"question_templates": [
{
"question_id": 1,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_must_fill": 1,
"is_not_display": 2,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
},
{
"question_id": 2,
"title": "具体哪里不适?(第一题为没有的可以不答)",
"question_type": 1,
"is_must_fill": 2,
"is_not_display": 2
}
],
"template_id": "XXXXXXXXXXXXXXXXX",
"ending": 1,
"next_key": "NEXT_KEY"
}