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
}
]
}
}

View File

@@ -95,6 +95,25 @@
} }
] ]
}, },
"selected_ticket_list": [ "xxx", "yyy" ],
"template_msg": {
"template_id": "ttxxlGlgIAwJrCTFjtndfgHPoIySyk6w",
"url": "http://www.qq.com",
"content_item": [
{
"key": "会议室",
"value": "402"
},
{
"key": "会议地点",
"value": "广州TIT-402会议室"
},
{
"key": "会议时间",
"value": "2018年8月1日 09:00-09:30"
}
]
},
"safe": 0, "safe": 0,
"enable_id_trans": 0, "enable_id_trans": 0,
"enable_duplicate_check": 0, "enable_duplicate_check": 0,

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"
}

View File

@@ -29,6 +29,7 @@
"round_logo_url": "xxxxxx", "round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy", "square_logo_url": "yyyyyy",
"appid": 1, "appid": 1,
"auth_mode": 1,
"privilege": { "privilege": {
"level": 1, "level": 1,
"allow_party": [ 1, 2, 3 ], "allow_party": [ 1, 2, 3 ],

View File

@@ -33,6 +33,7 @@
"round_logo_url": "xxxxxx", "round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy", "square_logo_url": "yyyyyy",
"appid": 1, "appid": 1,
"auth_mode": 1,
"privilege": { "privilege": {
"level": 1, "level": 1,
"allow_party": [ 1, 2, 3 ], "allow_party": [ 1, 2, 3 ],

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"is_member_auth": true
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"next_cursor": "next_cursor",
"member_auth_list": [
{
"open_userid": "xxx"
}
]
}