feat(work): 新增营销获客相关接口

This commit is contained in:
Fu Diwei
2025-11-26 10:11:48 +08:00
parent 5c48ed6e99
commit 1bb809d691
22 changed files with 247 additions and 28 deletions

View File

@@ -12,6 +12,7 @@
"chat_expires_in": 86400,
"unionid": "oxTWIuGaIt6gTKsQRLau2M0AAAA",
"is_exclusive": true,
"mark_source": true,
"conclusions": {
"text": {
"content": "文本消息内容"

View File

@@ -1,4 +1,4 @@
{
{
"errcode": 0,
"errmsg": "ok",
"contact_way": {
@@ -9,19 +9,20 @@
"remark": "test remark",
"skip_verify": true,
"state": "teststate",
"qr_code": "http://p.qpic.cn/wwhead/duc2TvpEgSdicZ9RrdUtBkv2UiaA/0",
"user": ["zhangsan", "lisi", "wangwu"],
"party": [2, 3],
"qr_code": "https://p.qpic.cn/wwhead/duc2TvpEgSdicZ9RrdUtBkv2UiaA/0",
"user": [ "zhangsan", "lisi", "wangwu" ],
"party": [ 2, 3 ],
"is_temp": true,
"expires_in": 86400,
"chat_expires_in": 86400,
"unionid": "oxTWIuGaIt6gTKsQRLau2M0AAAA",
"mark_source": true,
"conclusions": {
"text": {
"content": "文本消息内容"
},
"image": {
"pic_url": "http://p.qpic.cn/pic_wework/XXXXX"
"pic_url": "https://p.qpic.cn/pic_wework/XXXXX"
},
"link": {
"title": "消息标题",

View File

@@ -1,14 +1,15 @@
{
{
"config_id": "42b34949e138eb6e027c123cba77fAAA",
"remark": "渠道客户",
"skip_verify": true,
"style": 1,
"state": "teststate",
"user": ["zhangsan", "lisi", "wangwu"],
"party": [2, 3],
"user": [ "zhangsan", "lisi", "wangwu" ],
"party": [ 2, 3 ],
"expires_in": 86400,
"chat_expires_in": 86400,
"unionid": "oxTWIuGaIt6gTKsQRLau2M0AAAA",
"mark_source": true,
"conclusions": {
"text": {
"content": "文本消息内容"

View File

@@ -0,0 +1,16 @@
{
"errcode": 0,
"errmsg": "ok",
"user_list": [
"jack",
"rose"
],
"department_list": [
0,
1
],
"tag_list": [
0,
1
]
}

View File

@@ -4,5 +4,10 @@
"user_list": [ "zhangsan", "lisi" ],
"department_list": [ 2, 3 ]
},
"skip_verify": true
"skip_verify": true,
"priority_option": {
"priority_type": 2,
"priority_userid_list": [ "tom", "lisi" ]
},
"mark_source": true
}

View File

@@ -2,14 +2,18 @@
"errcode": 0,
"errmsg": "ok",
"link": {
"link_id": "LINK_ID_AAA",
"link_name": "LINK_NAME",
"url": "work.weixin.qq.com/ca/xxxxxx",
"create_time": 1672502400
"url": "https://work.weixin.qq.com/ca/xxxxxx",
"create_time": 1672502400,
"skip_verify": true,
"mark_source": true
},
"range": {
"user_list": [ "rocky", "sam" ],
"department_list": [ 1 ]
},
"skip_verify": true
"priority_option": {
"priority_type": 2,
"priority_userid_list": [ "tom", "lisi" ]
}
}

View File

@@ -5,5 +5,10 @@
"user_list": [ "zhangsan", "lisi" ],
"department_list": [ 2, 3 ]
},
"skip_verify": true
"skip_verify": true,
"priority_option": {
"priority_type": 2,
"priority_userid_list": [ "tom", "lisi" ]
},
"mark_source": true
}

View File

@@ -1,4 +1,4 @@
{
{
"scene": 2,
"remark": "aa_remark",
"auto_create_room": 1,
@@ -8,5 +8,6 @@
"wrOgQhDgAAH2Yy-CTZ6POca8mlBEdaaa",
"wrOgQhDgAALPUthpRAKvl7mgiQRwAAA"
],
"state": "klsdup3kj3s1"
"state": "klsdup3kj3s1",
"mark_source": true
}

View File

@@ -1,4 +1,4 @@
{
{
"errcode": 0,
"errmsg": "ok",
"join_way": {
@@ -13,6 +13,7 @@
"wrOgQhDgAALPUthpRAKvl7mgiQRw_aaa"
],
"qr_code": "http://p.qpic.cn/wwhead/nMl9ssowtibVGyrmvBiaibzDtp703nXuzpibnKtbSDBRJTLwS3ic4ECrf3ibLVtIFb0N6wWwy5LVuyvMQ22/0",
"state": "klsdup3kj3s1"
"state": "klsdup3kj3s1",
"mark_source": true
}
}

View File

@@ -1,4 +1,4 @@
{
{
"config_id": "9ad7fa5cdaa6511298498f979c4722de",
"scene": 2,
"remark": "bb_remark",
@@ -9,5 +9,6 @@
"wrOgQhDgAAH2Yy-CTZ6POca8mlBEdaaa",
"wrOgQhDgAALPUthpRAKvl7mgiQRw_aaa"
],
"state": "klsdup3kj3s1"
"state": "klsdup3kj3s1",
"mark_source": true
}