From 3a985631d473c0823a13aa4e65a672e947d4b1c9 Mon Sep 17 00:00:00 2001 From: Ghost <106998207@qq.com> Date: Tue, 25 Mar 2025 09:30:15 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=86=97=E4=BD=99=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Server/application/command.php | 1 - .../application/sql/wechat_moments_tables.sql | 23 ------------------- 2 files changed, 24 deletions(-) delete mode 100644 Server/application/sql/wechat_moments_tables.sql diff --git a/Server/application/command.php b/Server/application/command.php index 8f705918..94d521af 100644 --- a/Server/application/command.php +++ b/Server/application/command.php @@ -16,5 +16,4 @@ return [ 'friendTask:list' => 'app\command\FriendTaskCommand', // 添加好友任务列表 'wechatList:list' => 'app\command\WechatListCommand', // 微信客服列表 'account:list' => 'app\command\AccountListCommand', // 公司账号列表 - 'sync:wechat:chatrooms' => 'app\command\SyncWechatChatrooms', // 同步微信群聊数据 ]; diff --git a/Server/application/sql/wechat_moments_tables.sql b/Server/application/sql/wechat_moments_tables.sql deleted file mode 100644 index d185f574..00000000 --- a/Server/application/sql/wechat_moments_tables.sql +++ /dev/null @@ -1,23 +0,0 @@ --- 朋友圈表 -CREATE TABLE IF NOT EXISTS `wechat_moments` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT, - `wechatAccountId` int(11) NOT NULL COMMENT '微信账号ID', - `wechatFriendId` varchar(64) NOT NULL COMMENT '微信好友ID', - `snsId` varchar(64) NOT NULL COMMENT '朋友圈消息ID', - `commentList` text COMMENT '评论列表JSON', - `createTime` bigint(20) DEFAULT '0' COMMENT '创建时间戳', - `likeList` text COMMENT '点赞列表JSON', - `content` text COMMENT '朋友圈内容', - `lat` decimal(10,6) DEFAULT '0.000000' COMMENT '纬度', - `lng` decimal(10,6) DEFAULT '0.000000' COMMENT '经度', - `location` varchar(255) DEFAULT '' COMMENT '位置信息', - `picSize` int(11) DEFAULT '0' COMMENT '图片大小', - `resUrls` text COMMENT '资源URL列表', - `userName` varchar(64) DEFAULT '' COMMENT '用户名', - `type` int(11) DEFAULT '0' COMMENT '朋友圈类型', - `create_time` int(11) DEFAULT NULL COMMENT '数据创建时间', - `update_time` int(11) DEFAULT NULL COMMENT '数据更新时间', - PRIMARY KEY (`id`), - UNIQUE KEY `idx_sns_account` (`snsId`,`wechatAccountId`), - KEY `idx_account_friend` (`wechatAccountId`,`wechatFriendId`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='微信朋友圈数据表'; \ No newline at end of file