diff --git a/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql b/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql index abf06a846..79548ee1d 100644 --- a/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql +++ b/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql @@ -11,8 +11,18 @@ --INSERT INTO `wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_id`, `type`, `custom_param`, `create_date`, `update_date`, `on_off`) VALUES (CEILING(RAND()*90000000000+10000000000), '1014', NULL, '', 51, '{\"index\": [\"thing1\", \"time3\", \"time4\", \"thing5\"], \"emphasis\": \"\"}', '2021-07-12 17:00:00', '2021-07-12 17:00:00', 0); +--测试环境 直播消息 +--记录789测试的直播订阅消息 +--INSERT INTO `mallink`.`wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_id`, `type`, `custom_param`, `create_date`, `update_date`, `on_off`) VALUES (44, '789', NULL, '8Ze_M87ejMPBIOiYqxQFgxboAZVyadwBDhpQkVQIrvA', 5, '{\"index\": [\"thing1\", \"date3\", \"thing4\", \"thing5\"], \"emphasis\": \"\"}', '2018-10-15 06:14:11', '2020-11-10 16:45:17', 0); + + --因微信限制一次最多订阅3条订阅消息 --需要发卷订阅消息 废除直播开播提醒订阅消息EnumTemplateType INSERT INTO `wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_id`, `type`, `custom_param`, `create_date`, `update_date`, `on_off`) VALUES (CEILING(RAND()*90000000000+10000000000), '1003', NULL, '', 51, '{\"index\": [\"thing1\", \"time3\", \"time4\", \"thing5\"], \"emphasis\": \"\"}', '2021-07-12 17:00:00', '2021-07-12 17:00:00', 0); +--记录西子生产即将废除的直播订阅消息 +--INSERT INTO `mallink`.`wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_id`, `type`, `custom_param`, `create_date`, `update_date`, `on_off`) VALUES (53676481940, '1003', NULL, 'gjeyOdVyrLyygptaPO3eevA7eUONzYYDxOzDGZkduXM', 5, '{\"index\": [\"thing1\", \"date3\", \"thing4\", \"thing5\"], \"emphasis\": \"\"}', '2020-11-11 11:11:11', '2020-11-19 11:28:33', 0); + delete from `wx_template_msg` where `tenant_id` = '1003' and `type` = 5; + +