feat(work): 新增获客助手相关接口

This commit is contained in:
Fu Diwei
2023-05-24 10:08:49 +08:00
parent ac11bced93
commit dba8b17145
28 changed files with 1084 additions and 416 deletions

View File

@@ -0,0 +1,7 @@
<xml>
<SuiteId><![CDATA[ww4asffe99e54c0f4c]]></SuiteId>
<AuthCorpId><![CDATA[wxf8b4f85f3a794e77]]></AuthCorpId>
<InfoType><![CDATA[approve_special_auth]]></InfoType>
<TimeStamp>1403610513</TimeStamp>
<AuthType><![CDATA[customer_acquisition]]></ChangeType>
</xml>

View File

@@ -0,0 +1,8 @@
{
"link_name": "获客链接1号",
"range": {
"user_list": [ "zhangsan", "lisi" ],
"department_list": [ 2, 3 ]
},
"skip_verify": true
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"link": {
"link_id": "LINK_ID",
"link_name": "获客链接1号",
"url": "URL",
"create_time": 1667232000
}
}

View File

@@ -0,0 +1,25 @@
{
"errcode": 0,
"errmsg": "ok",
"customer_list": [
{
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAA",
"userid": "zhangsan",
"chat_status": 0,
"state": "CHANNEL_A"
},
{
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mACAAA",
"userid": "lisi",
"chat_status": 0,
"state": "CHANNEL_B"
},
{
"external_userid": "woAJ2GCAAAXtWyujaWJHDDGi0mBCBBB",
"userid": "rocky",
"chat_status": 1,
"state": "CHANNEL_A"
}
],
"next_cursor": "CURSOR"
}

View File

@@ -0,0 +1,15 @@
{
"errcode": 0,
"errmsg": "ok",
"link": {
"link_id": "LINK_ID_AAA",
"link_name": "LINK_NAME",
"url": "work.weixin.qq.com/ca/xxxxxx",
"create_time": 1672502400
},
"range": {
"user_list": [ "rocky", "sam" ],
"department_list": [ 1 ]
},
"skip_verify": true
}

View File

@@ -0,0 +1,10 @@
{
"errcode": 0,
"errmsg": "ok",
"link_id_list": [
"LINK_ID_AAA",
"LINK_ID_BBB",
"LINK_ID_CCC"
],
"next_cursor": "CURSOR"
}

View File

@@ -0,0 +1,9 @@
{
"link_id": "LINK_ID",
"link_name": "获客链接1号",
"range": {
"user_list": [ "zhangsan", "lisi" ],
"department_list": [ 2, 3 ]
},
"skip_verify": true
}