feat(work): 新增防疫场所码相关接口

This commit is contained in:
Fu Diwei
2022-03-14 17:28:29 +08:00
parent e4dc019282
commit 1b77eb377a
40 changed files with 532 additions and 28 deletions

View File

@@ -0,0 +1,6 @@
{
"siteid": "siteid",
"date": "2020-03-27",
"cursor": "cursor",
"limit": 100
}

View File

@@ -0,0 +1,42 @@
{
"errcode": 0,
"errmsg": "ok",
"answers": [
{
"report_time": 123456789,
"report_values": [
{
"question_id": 1,
"single_choice": 2
},
{
"question_id": 2,
"text": "广东省广州市"
},
{
"question_id": 3,
"multi_choice": [1, 3]
}
]
},
{
"report_time": 123456789,
"report_values": [
{
"question_id": 1,
"single_choice": 1
},
{
"question_id": 2,
"text": "广东省深圳市"
},
{
"question_id": 3,
"multi_choice": [1, 2, 3]
}
]
}
],
"next_cursor": "NEXT_CURSOR",
"has_more": 0
}

View File

@@ -0,0 +1,28 @@
{
"errcode": 0,
"errmsg": "ok",
"question_templates": [
{
"question_id": 1,
"title": "常驻地址",
"question_type": 1,
"is_required": 0
},
{
"question_id": 2,
"title": "请问你有任何身体不适吗?",
"question_type": 2,
"is_required": 1,
"option_list": [
{
"option_id": 1,
"option_text": "有"
},
{
"option_id": 2,
"option_text": "没有"
}
]
}
]
}

View File

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

View File

@@ -0,0 +1,25 @@
{
"errcode": 0,
"errmsg": "ok",
"site_code_infos": [
{
"id": "siteid",
"type": "商场超市",
"area": "广东省/广州市/荔湾区",
"address": "广州市广州大饭店",
"name": "广州市广州大饭店",
"admin": ["zhangsan", "lisi"],
"qr_code_url": "https://www.abc"
},
{
"id": "siteid",
"type": "商场超市",
"area": "广东省/广州市/荔湾区",
"address": "广州市广州大饭店",
"name": "广州市广州大饭店",
"admin": ["zhangsan", "lisi"],
"qr_code_url": "https://www.abc"
}
],
"next_cursor": "NEXT_CURSOR"
}