feat(channel): add channel account event receiver endpoint

This commit is contained in:
2026-07-10 12:24:00 +08:00
parent 1fabc04d70
commit 302e0ab442
4 changed files with 127 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
SET FOREIGN_KEY_CHECKS = 0;
DELETE FROM mci_channel_event_record;
DELETE FROM mci_channel_account;
DELETE FROM mci_tenant;
SET FOREIGN_KEY_CHECKS = 1;
INSERT INTO mci_tenant (id, tenant_code, tenant_name, status, create_time)
VALUES (1, 'rescue', '救援', 1, NOW());
INSERT INTO mci_channel_account (id, tenant_code, account_type, channel_type, account_id, account_name, login_status, online_status, risk_level, status, create_time)
VALUES (1, 'rescue', 3, 'wechat_personal', 'wx-bot-01', '测试号', 0, 0, 0, 1, NOW());