mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-19 10:08:20 +08:00
feat(work): 导入企业微信 API 客户端项目
This commit is contained in:
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"useridlist": [ "zhangsan", "lisi" ]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "deleted"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"userid": "zhangsan"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"openid": "oDjGHs-1yCnGrRovBj2yHij5JAAA"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"openid": "oDjGHs-1yCnGrRovBj2yHij5JAAA"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userid": "zhangsan"
|
||||
}
|
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"alias": "jackzhang",
|
||||
"mobile": "13800000000",
|
||||
"department": [ 1, 2 ],
|
||||
"order": [ 10, 40 ],
|
||||
"position": "产品经理",
|
||||
"gender": "1",
|
||||
"email": "zhangsan@gzdev.com",
|
||||
"is_leader_in_dept": [ 1, 0 ],
|
||||
"enable": 1,
|
||||
"avatar_mediaid": "2-G6nrLmr5EC3MNb_-zL1dDdzkd0p7cNliYu9V5w7o8K0",
|
||||
"telephone": "020-123456",
|
||||
"address": "广州市海珠区新港中路",
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"to_invite": true,
|
||||
"external_position": "高级产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd8012614784fake",
|
||||
"pagepath": "/index",
|
||||
"title": "my miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "created"
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "deleted"
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"active_cnt": 100
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"department": [ 1, 2 ],
|
||||
"order": [ 1, 2 ],
|
||||
"position": "后台工程师",
|
||||
"mobile": "13800000000",
|
||||
"gender": "1",
|
||||
"email": "zhangsan@gzdev.com",
|
||||
"is_leader_in_dept": [ 1, 0 ],
|
||||
"avatar": "http://wx.qlogo.cn/mmopen/ajNVdqHZLLA3WJ6DSZUfiakYe37PKnQhBIeOQBO4czqrnZDS79FH5Wm5m4X69TBicnHFlhiafvDwklOpZeXYQQ2icg/0",
|
||||
"thumb_avatar": "http://wx.qlogo.cn/mmopen/ajNVdqHZLLA3WJ6DSZUfiakYe37PKnQhBIeOQBO4czqrnZDS79FH5Wm5m4X69TBicnHFlhiafvDwklOpZeXYQQ2icg/100",
|
||||
"telephone": "020-123456",
|
||||
"alias": "jackzhang",
|
||||
"address": "广州市海珠区新港中路",
|
||||
"open_userid": "xxxxxx",
|
||||
"main_department": 1,
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"status": 1,
|
||||
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=xxx",
|
||||
"external_position": "产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd80126147dFAKE",
|
||||
"pagepath": "/index",
|
||||
"title": "my miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"UserId": "USERID",
|
||||
"DeviceId": "DEVICEID",
|
||||
"OpenId": "OPENID",
|
||||
"external_userid": "EXTERNAL_USERID"
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,76 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userlist": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "李四",
|
||||
"department": [ 1, 2 ],
|
||||
"order": [ 1, 2 ],
|
||||
"position": "后台工程师",
|
||||
"mobile": "13800000000",
|
||||
"gender": "1",
|
||||
"email": "zhangsan@gzdev.com",
|
||||
"is_leader_in_dept": [ 1, 0 ],
|
||||
"avatar": "http://wx.qlogo.cn/mmopen/ajNVdqHZLLA3WJ6DSZUfiakYe37PKnQhBIeOQBO4czqrnZDS79FH5Wm5m4X69TBicnHFlhiafvDwklOpZeXYQQ2icg/0",
|
||||
"thumb_avatar": "http://wx.qlogo.cn/mmopen/ajNVdqHZLLA3WJ6DSZUfiakYe37PKnQhBIeOQBO4czqrnZDS79FH5Wm5m4X69TBicnHFlhiafvDwklOpZeXYQQ2icg/100",
|
||||
"telephone": "020-123456",
|
||||
"alias": "jackzhang",
|
||||
"status": 1,
|
||||
"address": "广州市海珠区新港中路",
|
||||
"english_name": "jacky",
|
||||
"open_userid": "xxxxxx",
|
||||
"main_department": 1,
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"qr_code": "https://open.work.weixin.qq.com/wwopen/userQRCode?vcode=xxx",
|
||||
"external_position": "产品经理",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd80126147dFAKE",
|
||||
"pagepath": "/index",
|
||||
"title": "miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1 @@
|
||||
{}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"userlist": [
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "张三",
|
||||
"department": [ 1, 2 ],
|
||||
"open_userid": "xxxxxx"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"userid": "zhangsan",
|
||||
"name": "李四",
|
||||
"department": [ 1 ],
|
||||
"order": [ 10 ],
|
||||
"position": "后台工程师",
|
||||
"mobile": "13800000000",
|
||||
"gender": "1",
|
||||
"email": "zhangsan@gzdev.com",
|
||||
"is_leader_in_dept": [ 1 ],
|
||||
"enable": 1,
|
||||
"avatar_mediaid": "2-G6nrLmr5EC3MNb_-zL1dDdzkd0p7cNliYu9V5w7o8K0",
|
||||
"telephone": "020-123456",
|
||||
"alias": "jackzhang",
|
||||
"address": "广州市海珠区新港中路",
|
||||
"main_department": 1,
|
||||
"extattr": {
|
||||
"attrs": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"external_position": "工程师",
|
||||
"external_profile": {
|
||||
"external_corp_name": "企业简称",
|
||||
"external_attr": [
|
||||
{
|
||||
"type": 0,
|
||||
"name": "文本名称",
|
||||
"text": {
|
||||
"value": "文本"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 1,
|
||||
"name": "网页名称",
|
||||
"web": {
|
||||
"url": "http://www.test.com",
|
||||
"title": "标题"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": 2,
|
||||
"name": "测试app",
|
||||
"miniprogram": {
|
||||
"appid": "wx8bd80126147dFAKE",
|
||||
"pagepath": "/index",
|
||||
"title": "my miniprogram"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "updated"
|
||||
}
|
Reference in New Issue
Block a user