Files
obsidian-valut-mq/三方渠道对接/微信视频号反馈.md
2026-04-29 10:08:12 +08:00

46 lines
3.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
1. 消息丢失和消息接收回执有关,视频号服务在高并发情况下推送数据没有拿到回执队列会有消息丢失
2. IP纯净度问题视频号服务商说的微信被封号是用了四叶天的住宅IP被封目前我们使用的IDC IP只有一家未实名的账号被封
```sql
alter table wx_video_fansinfo
modify openid varchar(255) default '' not null comment '粉丝openid';
```
```sql
CREATE TABLE `wx_video_mention` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '自增ID',
`ent_id` bigint(20) NOT NULL COMMENT '企业ID',
`account_id` bigint(20) NOT NULL COMMENT '视频号账号ID',
`app_id` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '视频号AppID',
`finder_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '视频号finder用户名',
`sub_source` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '子来源标识',
`client_id` varchar(128) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '顾客ID',
`req_scene` tinyint(4) NOT NULL COMMENT '消息场景(3点赞,4评论,5关注)',
`mention_id` bigint(20) NOT NULL COMMENT '消息ID',
`svr_mention_id` bigint(20) NOT NULL DEFAULT '0' COMMENT '服务端消息ID',
`mention_type` int(11) NOT NULL DEFAULT '0' COMMENT '消息类型',
`username` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '对方username',
`nickname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '昵称',
`head_url` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '头像URL',
`mention_content` text COLLATE utf8mb4_unicode_ci COMMENT '消息内容',
`ref_content` text COLLATE utf8mb4_unicode_ci COMMENT '引用内容',
`description` text COLLATE utf8mb4_unicode_ci COMMENT '描述',
`thumb_url` varchar(1024) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '缩略图URL',
`reply_nickname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '被回复昵称',
`comment_reply_content` text COLLATE utf8mb4_unicode_ci COMMENT '评论区回复内容',
`is_private_reply` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否私信回复',
`ref_object_nonce_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '' COMMENT '引用对象nonce_id',
`ref_object_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '引用作品ID',
`ref_comment_id` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '引用评论ID',
`media_type` int(11) NOT NULL DEFAULT '0' COMMENT '媒体类型',
`mention_created_at` datetime(6) NOT NULL COMMENT '消息创建时间',
`created_at` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) COMMENT '创建时间',
`updated_at` datetime(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6) ON UPDATE CURRENT_TIMESTAMP(6) COMMENT '更新时间',
PRIMARY KEY (`id`),
UNIQUE KEY `uk_account_mention` (`account_id`,`mention_id`),
KEY `idx_ent_id` (`ent_id`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='微信视频号mention明细'
```