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

This commit is contained in:
Fu Diwei
2021-06-03 10:39:03 +08:00
parent d290155dec
commit 47181c2bc7
62 changed files with 813 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
"auth_corpid": "auth_corpid_value",
"agentid": 1000046
}

View File

@@ -0,0 +1,16 @@
{
"errcode": 0,
"errmsg": "ok",
"admin": [
{
"userid": "zhangsan",
"open_userid": "xxxxx",
"auth_type": 1
},
{
"userid": "lisi",
"open_userid": "yyyyy",
"auth_type": 0
}
]
}

View File

@@ -0,0 +1,4 @@
{
"auth_corpid": "auth_corpid_value",
"permanent_code": "code_value"
}

View File

@@ -0,0 +1,57 @@
{
"errcode": 0,
"errmsg": "ok",
"dealer_corp_info": {
"corpid": "xxxx",
"corp_name": "name"
},
"auth_corp_info": {
"corpid": "xxxx",
"corp_name": "name",
"corp_type": "verified",
"corp_square_logo_url": "yyyyy",
"corp_user_max": 50,
"corp_agent_max": 30,
"corp_full_name": "full_name",
"verified_end_time": 1431775834,
"subject_type": 1,
"corp_wxqrcode": "zzzzz",
"corp_scale": "1-50人",
"corp_industry": "IT服务",
"corp_sub_industry": "计算机软件/硬件/信息服务",
"location": "广东省广州市"
},
"auth_info": {
"agent": [
{
"agentid": 1,
"name": "NAME",
"round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy",
"appid": 1,
"privilege": {
"level": 1,
"allow_party": [ 1, 2, 3 ],
"allow_user": [ "zhansan", "lisi" ],
"allow_tag": [ 1, 2, 3 ],
"extra_party": [ 4, 5, 6 ],
"extra_user": [ "wangwu" ],
"extra_tag": [ 4, 5, 6 ]
},
"shared_from": {
"corpid": "wwyyyyy"
}
},
{
"agentid": 2,
"name": "NAME2",
"round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy",
"appid": 5,
"shared_from": {
"corpid": "wwyyyyy"
}
}
]
}
}

View File

@@ -0,0 +1,4 @@
{
"auth_corpid": "auth_corpid_value",
"permanent_code": "code_value"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"access_token": "xxxxxx",
"expires_in": 7200
}

View File

@@ -0,0 +1,36 @@
{
"errcode": 0,
"errmsg": "ok",
"usertype": 1,
"user_info": {
"userid": "xxxx",
"open_userid": "xxx",
"name": "xxxx",
"avatar": "xxxx"
},
"corp_info": {
"corpid": "wxCorpId"
},
"agent": [
{
"agentid": 0,
"auth_type": 1
},
{
"agentid": 1,
"auth_type": 1
},
{
"agentid": 2,
"auth_type": 1
}
],
"auth_info": {
"department": [
{
"id": 2,
"writable": true
}
]
}
}

View File

@@ -0,0 +1,3 @@
{
"auth_code": "auth_code_value"
}

View File

@@ -0,0 +1,72 @@
{
"errcode": 0,
"errmsg": "ok",
"access_token": "xxxxxx",
"expires_in": 7200,
"permanent_code": "xxxx",
"dealer_corp_info": {
"corpid": "xxxx",
"corp_name": "name"
},
"auth_corp_info": {
"corpid": "xxxx",
"corp_name": "name",
"corp_type": "verified",
"corp_square_logo_url": "yyyyy",
"corp_user_max": 50,
"corp_agent_max": 30,
"corp_full_name": "full_name",
"verified_end_time": 1431775834,
"subject_type": 1,
"corp_wxqrcode": "zzzzz",
"corp_scale": "1-50人",
"corp_industry": "IT服务",
"corp_sub_industry": "计算机软件/硬件/信息服务",
"location": "广东省广州市",
"auth_type": 1
},
"auth_info": {
"agent": [
{
"agentid": 1,
"name": "NAME",
"round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy",
"appid": 1,
"privilege": {
"level": 1,
"allow_party": [ 1, 2, 3 ],
"allow_user": [ "zhansan", "lisi" ],
"allow_tag": [ 1, 2, 3 ],
"extra_party": [ 4, 5, 6 ],
"extra_user": [ "wangwu" ],
"extra_tag": [ 4, 5, 6 ]
},
"shared_from": {
"corpid": "wwyyyyy"
}
},
{
"agentid": 2,
"name": "NAME2",
"round_logo_url": "xxxxxx",
"square_logo_url": "yyyyyy",
"appid": 5,
"shared_from": {
"corpid": "wwyyyyy"
}
}
]
},
"auth_user_info": {
"userid": "aa",
"open_userid": "xxxxxx",
"name": "xxx",
"avatar": "http://xxx"
},
"register_code_info": {
"register_code": "1111",
"template_id": "tpl111",
"state": "state001"
}
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"pre_auth_code": "Cx_Dk6qiBE0Dmx4EmlT3oRfArPvwSQ-oa3NL_fwHM7VI08r52wazoZX2Rhpz1dEw",
"expires_in": 1200
}

View File

@@ -0,0 +1,4 @@
{
"provider_access_token": "enLSZ5xxxxxxJRL",
"expires_in": 7200
}

View File

@@ -0,0 +1,7 @@
{
"pre_auth_code": "xxxxx",
"session_info": {
"appid": [ 1, 2, 3 ],
"auth_type": 1
}
}

View File

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

View File

@@ -0,0 +1,3 @@
{
"user_ticket": "USER_TICKET"
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"corpid": "wwxxxxxxyyyyy",
"userid": "lisi",
"name": "李四",
"gender": "1",
"avatar": "http://shp.qpic.cn/bizmp/xxxxxxxxxxx/0",
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=vcfc13b01dfs78e981c"
}

View File

@@ -0,0 +1,11 @@
{
"errcode": 0,
"errmsg": "ok",
"CorpId": "CORPID",
"UserId": "USERID",
"OpenId": "OPENID",
"DeviceId": "DEVICEID",
"user_ticket": "USER_TICKET",
"expires_in": 7200,
"open_userid": "wwxxxx"
}

View File

@@ -0,0 +1,8 @@
{
"template_id": "TEMPLATEID",
"corp_name": "腾讯科技",
"admin_name": "张三",
"admin_mobile": "12345678901",
"state": "TestState123",
"follow_user": "lisi"
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "ok",
"register_code": "pIKi3wRPNWCGF-pyP-YU5KWjDDD",
"expires_in": 600
}

View File

@@ -0,0 +1,3 @@
{
"register_code": "pIKi3wRPNWCGF-pyP-YU5KWjDDD"
}

View File

@@ -0,0 +1,14 @@
{
"errcode": 0,
"errmsg": "ok",
"corpid": "wwddddccc7775555aaa",
"contact_sync": {
"access_token": "accesstoken000001",
"expires_in": 1800
},
"auth_user_info": {
"userid": "zhangshan"
},
"state": "TestState123",
"template_id": "tpltest"
}