mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-21 02:58:06 +08:00
test(work): 适配新的模型测试
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"auth_code": "xxxxx"
|
||||
}
|
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"user_ticket": "USER_TICKET"
|
||||
}
|
@@ -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"
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -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"
|
||||
}
|
Reference in New Issue
Block a user