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

This commit is contained in:
Fu Diwei
2021-06-10 18:02:21 +08:00
parent e61a41f885
commit b5e0e75380
30 changed files with 147 additions and 0 deletions

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