Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-opsdoc
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 47b044b4
authored
Apr 12, 2022
by
向延琳
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/eshiled-new/ne-shield-opsdoc
2 parents
f7e415d6
d53aea6e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
68 additions
and
4 deletions
1.6.0_四月/1.6.0数据库SQL脚本.sql
1.6.0_四月/1.6.0配置中心配置.md
1.6.0_四月/1.6.0数据库SQL脚本.sql
View file @
47b044b
...
...
@@ -98,3 +98,14 @@ ALTER TABLE `t_device_power`
ADD
INDEX
idx_sn
(
`sn`
);
ALTER
TABLE
`t_device_power`
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
);
1.6.0_四月/1.6.0配置中心配置.md
View file @
47b044b
...
...
@@ -132,11 +132,7 @@ file.upload.string.url=http://gfs.test.glsx.com.cn/file/upstring
#file.upload.string.url=http://gfs.glsx.com.cn/file/upstring
file.zip.string.url
=
http://gfs.test.glsx.com.cn/file/zip
feign.devicemonitor.name
=
ne-shield-devicemonitor
feign.devicemonitor.path
=
/devicemonitor
feign.usercenter.name
=
glsx-ne-shield-usercenter
feign.usercenter.path
=
/usercenter
```
...
...
@@ -186,3 +182,60 @@ spring.cloud.gateway.routes[8].filters[1]=DedupeResponseHeader=Access-Control-Al
```
## 二、项目:ne-shield-kafkaconsumer
### 1、开发配置
```
properties
#警情报警Topic
mq.kafka.fence.alarm.topic
=
gps_fence_alarm_neshield
```
### 2、测试配置
```
properties
```
### 3、生产配置
```
properties
```
## 三、项目: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
```
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment