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

This commit is contained in:
Fu Diwei
2021-06-04 01:10:54 +08:00
parent be687f5ffb
commit 31f9425171
130 changed files with 1875 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
{
"calendar": {
"organizer": "userid1",
"readonly": 1,
"set_as_default": 1,
"summary": "test_summary",
"color": "#FF3030",
"description": "test_describe",
"shares": [
{
"userid": "userid2"
},
{
"userid": "userid3",
"readonly": 1
}
]
},
"agentid": 1000014
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA"
}

View File

@@ -0,0 +1,3 @@
{
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,3 @@
{
"cal_id_list": [ "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA" ]
}

View File

@@ -0,0 +1,23 @@
{
"errcode": 0,
"errmsg": "ok",
"calendar_list": [
{
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA",
"organizer": "userid1",
"readonly": 1,
"summary": "test_summary",
"color": "#FF3030",
"description": "test_describe_1",
"shares": [
{
"userid": "userid2"
},
{
"userid": "userid1",
"readonly": 1
}
]
}
]
}

View File

@@ -0,0 +1,18 @@
{
"calendar": {
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA",
"readonly": 1,
"summary": "test_summary",
"color": "#FF3030",
"description": "test_describe_1",
"shares": [
{
"userid": "userid1"
},
{
"userid": "userid2",
"readonly": 1
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,8 @@
{
"meetingroom_id": 1,
"subject": "周会",
"start_time": 1593532800,
"end_time": 1593619200,
"booker": "zhangsan",
"attendees": [ "lisi", "wangwu" ]
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"meeting_id": "mtgsaseb6e027c123cbafAAA",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA"
}

View File

@@ -0,0 +1,4 @@
{
"meeting_id": "mt42b34949gsaseb6e027c123cbafAAA",
"keep_schedule": 1
}

View File

@@ -0,0 +1,8 @@
{
"meetingroom_id": 1,
"start_time": 1593532800,
"end_time": 1593619200,
"city": "深圳",
"building": "腾讯大厦",
"floor": "18F"
}

View File

@@ -0,0 +1,22 @@
{
"errcode": 0,
"errmsg": "ok",
"booking_list": [
{
"meetingroom_id": 1,
"schedule": [
{
"meeting_id": "mtebsada6e027c123cbafAAA",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"start_time": 1593532800,
"end_time": 1593662400,
"booker": "zhangsan"
}
]
},
{
"meetingroom_id": 2,
"schedule": []
}
]
}

View File

@@ -0,0 +1,12 @@
{
"name": "18F-会议室",
"capacity": 10,
"city": "深圳",
"building": "腾讯大厦",
"floor": "18F",
"equipment": [ 1, 2, 3 ],
"coordinate": {
"latitude": "22.540503",
"longitude": "113.934528"
}
}

View File

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

View File

@@ -0,0 +1,13 @@
{
"meetingroom_id": 2,
"name": "18F-会议室",
"capacity": 10,
"city": "深圳",
"building": "腾讯大厦",
"floor": "18F",
"equipment": [ 1, 2, 3 ],
"coordinate": {
"latitude": "22.540503",
"longitude": "113.934528"
}
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,6 @@
{
"city": "深圳",
"building": "腾讯大厦",
"floor": "18F",
"equipment": [ 1, 2, 3 ]
}

View File

@@ -0,0 +1,33 @@
{
"errcode": 0,
"errmsg": "ok",
"meetingroom_list": [
{
"meetingroom_id": 1,
"name": "18F-会议室",
"capacity": 10,
"city": "深圳",
"building": "腾讯大厦",
"floor": "18F",
"equipment": [ 1, 2, 3 ],
"coordinate": {
"latitude": "22.540503",
"longitude": "113.934528"
},
"need_approval": 1
},
{
"meetingroom_id": 2,
"name": "19F-会议室",
"capacity": 20,
"city": "深圳",
"building": "腾讯大厦",
"floor": "19F",
"equipment": [ 2, 3 ],
"coordinate": {
"latitude": "22.540503",
"longitude": "113.934528"
}
}
]
}

View File

@@ -0,0 +1,29 @@
{
"schedule": {
"organizer": "userid1",
"start_time": 1571274600,
"end_time": 1571320210,
"attendees": [
{
"userid": "userid2"
}
],
"summary": "需求评审会议",
"description": "2.0版本需求初步评审",
"reminders": {
"is_remind": 1,
"remind_before_event_secs": 3600,
"is_repeat": 1,
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [ 3, 7 ],
"repeat_day_of_month": [ 10, 21 ],
"timezone": 8
},
"location": "广州国际媒体港10楼1005会议室",
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA"
},
"agentid": 1000014
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA"
}

View File

@@ -0,0 +1,3 @@
{
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA"
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,5 @@
{
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA",
"offset": 100,
"limit": 1000
}

View File

@@ -0,0 +1,35 @@
{
"errcode": 0,
"errmsg": "ok",
"schedule_list": [
{
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"sequence": 100,
"attendees": [
{
"userid": "userid1",
"response_status": 0
}
],
"summary": "test_summary",
"description": "test_content",
"reminders": {
"is_remind": 1,
"is_repeat": 1,
"remind_before_event_secs": 3600,
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [ 3, 7 ],
"repeat_day_of_month": [ 10, 21 ],
"timezone": 8
},
"location": "test_place",
"start_time": 1571274600,
"end_time": 1571320210,
"status": 1,
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA"
}
]
}

View File

@@ -0,0 +1,5 @@
{
"schedule_id_list": [
"17c7d2bd9f20d652840f72f59e796AAA"
]
}

View File

@@ -0,0 +1,43 @@
{
"errcode": 0,
"errmsg": "ok",
"schedule_list": [
{
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"organizer": "userid1",
"attendees": [
{
"userid": "userid2",
"response_status": 1
}
],
"summary": "test_summary",
"description": "test_content",
"reminders": {
"is_remind": 1,
"is_repeat": 1,
"remind_before_event_secs": 3600,
"remind_time_diffs": [
-3600
],
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [ 3, 7 ],
"repeat_day_of_month": [ 10, 21 ],
"timezone": 8,
"exclude_time_list": [
{
"start_time": 1571361000
}
]
},
"location": "test_place",
"cal_id": "wcjgewCwAAqeJcPI1d8Pwbjt7nttzAAA",
"start_time": 1571274600,
"end_time": 1571579410,
"status": 1
}
]
}

View File

@@ -0,0 +1,28 @@
{
"schedule": {
"organizer": "userid1",
"schedule_id": "17c7d2bd9f20d652840f72f59e796AAA",
"start_time": 1571274600,
"end_time": 1571320210,
"attendees": [
{
"userid": "userid2"
}
],
"summary": "test_summary",
"description": "test_description",
"reminders": {
"is_remind": 1,
"remind_before_event_secs": 3600,
"is_repeat": 1,
"repeat_type": 7,
"repeat_until": 1606976813,
"is_custom_repeat": 1,
"repeat_interval": 1,
"repeat_day_of_week": [ 3, 7 ],
"repeat_day_of_month": [ 10, 21 ],
"timezone": 8
},
"location": "test_place"
}
}

View File

@@ -0,0 +1,4 @@
{
"errcode": 0,
"errmsg": "ok"
}