diff --git a/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql b/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql index 79548ee1d..4a0f0dc9d 100644 --- a/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql +++ b/mallinkAdmin/src/main/resources/db/migration/V202107120001__sendMSG.sql @@ -16,6 +16,12 @@ --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); +--生产测试 +--INSERT INTO `mallink`.`wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_id`, `type`, `custom_param`, `create_date`, `update_date`, `on_off`) VALUES (45913599326, '789', NULL, 'vuQ0lzIY13HOMS7lAQDG7DbG7yGgJM7FKUkQR3bHlPQ', 5, '{\"index\": [\"thing1\", \"date3\", \"thing4\", \"thing5\"], \"emphasis\": \"\"}', '2020-11-11 11:11:11', '2020-11-19 01:56:56', 0); +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), '789', NULL, '', 51, '{\"index\": [\"thing1\", \"time3\", \"time4\", \"thing5\"], \"emphasis\": \"\"}', '2021-07-12 17:00:00', '2021-07-12 17:00:00', 0); +delete from `wx_template_msg` where `tenant_id` = '789' and `type` = 5; + + --因微信限制一次最多订阅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); @@ -26,3 +32,4 @@ INSERT INTO `wx_template_msg`(`id`, `tenant_id`, `parent_tenant_id`, `template_i delete from `wx_template_msg` where `tenant_id` = '1003' and `type` = 5; +