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,6 @@
{
"errcode": 0,
"errmsg": "ok",
"pv": 100,
"uv": 50
}

View File

@@ -0,0 +1,6 @@
{
"jobid": "jobid1",
"date": "2020-03-27",
"offset": 0,
"limit": 100
}

View File

@@ -0,0 +1,62 @@
{
"errcode": 0,
"errmsg": "ok",
"answers": [
{
"id_type": 1,
"userid": "userid2",
"report_values": [
{
"question_id": 1,
"single_choice": 2
},
{
"question_id": 2,
"text": "广东省广州市"
},
{
"question_id": 3,
"multi_choice": [
1,
3
]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
}
]
},
{
"id_type": 2,
"student_userid": "student_userid1",
"parent_userid": "parent_userid1",
"report_values": [
{
"question_id": 1,
"single_choice": 1
},
{
"question_id": 2,
"text": "广东省深圳市"
},
{
"question_id": 3,
"multi_choice": [
1,
2,
3
]
},
{
"question_id": 4,
"fileid": [
"XXXXXXX"
]
}
]
}
]
}

View File

@@ -0,0 +1,4 @@
{
"offset": 0,
"limit": 100
}

View File

@@ -0,0 +1,9 @@
{
"errcode": 0,
"errmsg": "ok",
"ending": 1,
"jobids": [
"jobid1",
"jobid2"
]
}

View File

@@ -0,0 +1,4 @@
{
"jobid": "jobid1",
"date": "2020-03-27"
}

View File

@@ -0,0 +1,52 @@
{
"errcode": 0,
"errmsg": "ok",
"job_info": {
"title": "职工收集任务",
"creator": "creator_userid",
"type": 1,
"apply_range": {
"userids": [
"userid1",
"userid2"
],
"partyids": [
1,
2
]
},
"report_to": {
"userids": [
"userid1",
"userid2"
]
},
"report_type": 1,
"skip_weekend": 0,
"finish_cnt": 10,
"question_templates": [
{
"question_id": 1,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_required": 1,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
},
{
"question_id": 2,
"title": "常驻地址",
"question_type": 1,
"is_required": 0
}
]
}
}