mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 02:29:40 +08:00
feat(work): 新增接口调用许可账号管理相关接口
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"corpid": "CORPID",
|
||||
"userid": "USERID"
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"corpid": "CORPID",
|
||||
"active_list": [
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"userid": "USERID"
|
||||
},
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"userid": "USERID"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"active_result": [
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"userid": "USERID",
|
||||
"errcode": 0
|
||||
},
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"userid": "USERID",
|
||||
"errcode": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"corpid": "xxx",
|
||||
"active_code_list": ["XXXXXXXX", "YYYYYYYY", "ZZZZZZZZ"]
|
||||
}
|
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"active_info_list": [
|
||||
{
|
||||
"active_code": "XXXXXXXX",
|
||||
"type": 1,
|
||||
"status": 1,
|
||||
"userid": "USERID1",
|
||||
"create_time": 1640966400,
|
||||
"active_time": 1640966400,
|
||||
"expire_time": 1640966400,
|
||||
"merge_info": {
|
||||
"to_active_code": "code_new",
|
||||
"from_active_code": "code_old"
|
||||
},
|
||||
"share_info": {
|
||||
"to_corpid": "CORPID",
|
||||
"from_corpid": "CORPID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"active_code": "YYYYYYYY",
|
||||
"type": 2,
|
||||
"status": 1,
|
||||
"userid": "USERID2",
|
||||
"create_time": 1640966400,
|
||||
"active_time": 1640966400,
|
||||
"expire_time": 1640966400,
|
||||
"merge_info": {
|
||||
"to_active_code": "code_new",
|
||||
"from_active_code": "code_old"
|
||||
},
|
||||
"share_info": {
|
||||
"to_corpid": "CORPID",
|
||||
"from_corpid": "CORPID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"invalid_active_code_list": ["ZZZZZZZZ"]
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"from_corpid": "FROMCORPID",
|
||||
"to_corpid": "ToCORPID",
|
||||
"share_list": [
|
||||
{
|
||||
"active_code": "ACTIVE_CODE"
|
||||
},
|
||||
{
|
||||
"active_code": "ACTIVE_CODE"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"share_result": [
|
||||
{
|
||||
"active_code": "ACTIVE_CODE",
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"corpid": "CORPID",
|
||||
"transfer_list": [
|
||||
{
|
||||
"handover_userid": "USERID",
|
||||
"takeover_userid": "USERID"
|
||||
},
|
||||
{
|
||||
"handover_userid": "USERID",
|
||||
"takeover_userid": "USERID"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"transfer_result": [
|
||||
{
|
||||
"handover_userid": "USERID",
|
||||
"takeover_userid": "USERID",
|
||||
"errcode": 0
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"corpid": "xxx",
|
||||
"active_code": "XXXXXXXX"
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"active_info": {
|
||||
"active_code": "code1",
|
||||
"type": 1,
|
||||
"status": 1,
|
||||
"userid": "USERID",
|
||||
"create_time": 1640966400,
|
||||
"active_time": 1640966400,
|
||||
"expire_time": 1640966400,
|
||||
"merge_info": {
|
||||
"to_active_code": "code_new",
|
||||
"from_active_code": "code_old"
|
||||
},
|
||||
"share_info": {
|
||||
"to_corpid": "CORPID",
|
||||
"from_corpid": "CORPID"
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"corpid": "CORPID",
|
||||
"userid": "USERID"
|
||||
}
|
@@ -0,0 +1,21 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"active_status": 1,
|
||||
"active_info_list": [
|
||||
{
|
||||
"active_code": "code1",
|
||||
"type": 1,
|
||||
"userid": "USERID",
|
||||
"active_time": 1640966400,
|
||||
"expire_time": 1640966400
|
||||
},
|
||||
{
|
||||
"active_code": "code1",
|
||||
"type": 2,
|
||||
"userid": "USERID",
|
||||
"active_time": 1640966400,
|
||||
"expire_time": 1640966400
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"corpid": "CORPID",
|
||||
"limit": 500,
|
||||
"cursor": "xxxx"
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"next_cursor": "xxx",
|
||||
"has_more": 1,
|
||||
"account_list": [
|
||||
{
|
||||
"userid": "user1",
|
||||
"type": 1,
|
||||
"expire_time": 1500000000,
|
||||
"active_time": 1500000000
|
||||
},
|
||||
{
|
||||
"userid": "user2",
|
||||
"type": 1,
|
||||
"expire_time": 1500000000,
|
||||
"active_time": 1500000000
|
||||
}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user