feat(wxapi): 新增微信小店商家客服相关接口

This commit is contained in:
Fu Diwei
2025-04-29 22:56:48 +08:00
parent 8aa36c46fa
commit cd03625004
10 changed files with 297 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
{
{
"account_name": "apple",
"nickname": "苹果",
"icon_media_id": "media_id"
"icon_media_id": "media_id",
"transfer_to_commkf": true
}

View File

@@ -0,0 +1,5 @@
{
"cos_url": "https://channels.weixin.qq.com/shop/commkf/downloadmedia?encrypted_param=xxxxx&timestamp=xxxxx&openid=xxxxxx&msg_type=xxx",
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,20 @@
{
"request_id": "63abd34b-656b-4082-b364-5f74226e1a20",
"open_id": "o7eep4jVQelr2eyoDSmE1xxxxxx",
"msg_type": "xxx",
"text": {
"content": "测试消息123"
},
"image": {
"cos_url": "https://channels.weixin.qq.com/shop/commkf/downloadmedia?encrypted_param=xxxx&timestamp=xxxx&openid=o7eep4jVQelr2eyoDSmE1xxxxxx&msg_type=2"
},
"file": {
"cos_url": "https://channels.weixin.qq.com/shop/commkf/downloadmedia?encrypted_param=xxxx&timestamp=xxxx&openid=o7eep4jVQelr2eyoDSmE1xxxxxx&msg_type=8"
},
"order_share": {
"order_id": "372647xxxxxxxxxxx"
},
"product_share": {
"product_id": "10000xxxxxxx"
}
}

View File

@@ -0,0 +1,5 @@
{
"msg_id": "3895464567618158592",
"errcode": 0,
"errmsg": "ok"
}