Commit d53aea6e by levphon

通知服务相关脚本及配置

1 parent 9a97dd29
...@@ -98,3 +98,14 @@ ALTER TABLE `t_device_power` ...@@ -98,3 +98,14 @@ ALTER TABLE `t_device_power`
ADD INDEX idx_sn (`sn`); ADD INDEX idx_sn (`sn`);
ALTER TABLE `t_device_power` ALTER TABLE `t_device_power`
ADD INDEX idx_vd_id (`vd_id`); ADD INDEX idx_vd_id (`vd_id`);
-- 短信模板
alter table t_message_template change type send_type varchar(255) null comment '消息类型:短信SMS、邮件MAIL、公众号WXMP、小程序WXMA';
alter table t_message_log change type send_type varchar(255) null comment '消息类型:短信SMS、邮件MAIL、公众号WXMP、小程序WXMA';
alter table t_message_template add type int default 1 null comment '消息类型:根据send_type具体来看 短信类型:1:通知短信;2验证码短信' after send_type;
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ORDER_FINISHED', null, '【嘀嘀虎】您好,您的服务订单 {0}(车主:{1}),已完成,上门时间:{2}。广联赛讯', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ENTER_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_LEAVE_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
INSERT INTO t_message_template (template, subject, content, send_type, type, enable_status, del_flag, created_date, created_by) VALUES ('SMS_TEMPLATE_ENTER_LEAVE_FENCE', null, '【广联赛讯】尊敬的{0}先生/女士,(车牌{1})车辆于(时间{2})发生进出(围栏名称{3})围栏报警,请您留意具体车辆。', 'SMS', 1, 1, 0, sysdate(), 1);
...@@ -209,3 +209,33 @@ mq.kafka.fence.alarm.topic=gps_fence_alarm_neshield ...@@ -209,3 +209,33 @@ mq.kafka.fence.alarm.topic=gps_fence_alarm_neshield
``` ```
## 三、项目:ne-shield-notifycenter
### 1、开发配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
### 2、测试配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
### 3、生产配置
```properties
#短信服务
sms.url=http://didicb.glsx.com.cn/router
sms.source=eshield_workOrder_warm
```
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!