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 8cd64c28
authored
Jul 21, 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
86555f7d
c5c92bc1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
146 additions
and
6 deletions
1.9.0_七月/1.9.0数据库SQL脚本.sql
1.9.0_七月/1.9.0配置中心配置.md
1.9.0_七月/1.9.0需求版本开发内容.md
1.9.0_七月/1.9.0数据库SQL脚本.sql
View file @
8cd64c2
alter
table
t_device_freq
add
user_type
int
(
2
)
default
1
comment
'1:有账户的用户 2:分享的用户'
after
support_freq
;
alter
table
t_device_freq
add
user_type
int
(
2
)
default
1
comment
'1:有账户的用户 2:分享的用户'
after
support_freq
;
ALTER
TABLE
t_device_freq
MODIFY
channel
INT
(
2
)
DEFAULT
NULL
COMMENT
'操作渠道1 APP端 ; 2 虎哥E盾系统;3 FRMS系统 4 新E盾系统 5 小程序'
;
\ No newline at end of file
\ No newline at end of file
ALTER
TABLE
t_device_freq
MODIFY
channel
INT
(
2
)
DEFAULT
NULL
COMMENT
'操作渠道1 APP端 ; 2 虎哥E盾系统;3 FRMS系统 4 新E盾系统 5 小程序'
;
create
table
neshield
.
t_cust_user
(
id
int
auto_increment
comment
'用户id'
primary
key
,
token
varchar
(
256
)
null
comment
'登录token'
,
expire_in
int
null
comment
'token过期时间'
,
try_times
int
default
0
null
comment
'登录失败次数'
,
rel_user_id
int
null
comment
'关联人(账户)id'
,
blacklist
tinyint
default
0
null
comment
'黑名单状态:1白名单,2临时封禁,3永久封禁'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'C端客户表'
;
create
table
neshield
.
t_cust_user_auth_rel
(
id
int
auto_increment
comment
'主键'
primary
key
,
user_id
int
not
null
comment
'用户id'
,
auth_id
int
not
null
comment
'认证id'
,
auth_type
varchar
(
10
)
not
null
comment
'验证类型:local,third'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
,
constraint
t_cust_user_auth_rel_user_id_auth_id_auth_type_uindex
unique
(
user_id
,
auth_id
,
auth_type
)
)
comment
'用户登录认证关联表'
;
create
table
neshield
.
t_cust_user_local_account
(
id
int
auto_increment
comment
'主键'
primary
key
,
auth_id
int
not
null
comment
'认证id'
,
union_id
varchar
(
64
)
null
comment
'平台id'
,
username
varchar
(
50
)
null
comment
'用户名/昵称'
,
avatar
varchar
(
256
)
null
comment
'头像'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
,
constraint
t_cust_user_local_account_auth_id_uindex
unique
(
auth_id
)
)
comment
'用户本地账户表'
;
create
table
neshield
.
t_cust_user_local_auth
(
id
int
auto_increment
comment
'认证id'
primary
key
,
account
varchar
(
64
)
null
comment
'用户账号'
,
password
varchar
(
255
)
null
comment
'密码'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'本地用户表'
;
create
table
neshield
.
t_cust_user_shared_data
(
id
int
auto_increment
comment
'主键'
primary
key
,
content_id
int
null
comment
'授权数据id'
,
content_type
tinyint
default
0
not
null
comment
'内容类型:0车辆'
,
permit_type
varchar
(
5
)
default
'r'
not
null
comment
'权限类型 r=只读 wr=读写'
,
effective_date
datetime
null
comment
'生效时间'
,
expiration_date
datetime
null
comment
'失效时间'
,
enable_status
tinyint
(
2
)
default
0
not
null
comment
'状态:0默认,1有效,2失效'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'新e盾|C端用户分享数据记录表'
;
create
table
neshield
.
t_cust_user_third_auth
(
id
int
auto_increment
comment
'认证id'
primary
key
,
openid
varchar
(
64
)
null
comment
'第三方用户唯一标识'
,
login_type
varchar
(
32
)
null
comment
'第三方平台标识(qq、wechat...)'
,
access_token
varchar
(
256
)
null
comment
'第三方获取的access_token,校验使用'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'第三方用户表'
;
create
table
neshield
.
t_cust_user_wechat_account
(
id
int
auto_increment
comment
'主键'
primary
key
,
auth_id
int
not
null
comment
'认证id'
,
union_id
varchar
(
64
)
null
comment
'平台id'
,
wechat_avatar
varchar
(
256
)
null
comment
'微信头像'
,
wechat_name
varchar
(
64
)
null
comment
'微信名'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'用户微信账户表'
;
create
table
neshield
.
t_vehicle_shared
(
id
int
auto_increment
comment
'主键'
primary
key
,
shared_id
int
not
null
comment
'分享id'
,
accorder_id
int
null
comment
'授权人id,对应t_cust_user表id'
,
receiver_id
int
null
comment
'获权人id,对应t_cust_user表id'
,
content_id
int
null
comment
'授权数据id'
,
del_flag
tinyint
default
0
null
comment
'是否删除 0=正常 -1=删除'
,
created_date
datetime
null
comment
'创建时间'
,
created_by
int
null
comment
'创建人用户id'
,
updated_date
datetime
null
comment
'更新时间'
,
updated_by
int
null
comment
'更新人用户id'
)
comment
'新e盾|车辆分享表'
;
use
newgps
;
ALTER
TABLE
`d_track_alarm_rec`
ADD
INDEX
idx_alarmType
(
`alarmType`
);
\ No newline at end of file
\ No newline at end of file
1.9.0_七月/1.9.0配置中心配置.md
View file @
8cd64c2
...
@@ -113,8 +113,8 @@ spring.cloud.sentinel.datasource.ds2.nacos.rule-type=flow
...
@@ -113,8 +113,8 @@ spring.cloud.sentinel.datasource.ds2.nacos.rule-type=flow
#jwt config
#jwt config
jwt.config.header
=
Authorization
jwt.config.header
=
Authorization
jwt.config.ttl
=
864
00
jwt.config.ttl
=
25920
00
jwt.config.refreshTtl
=
864
00
jwt.config.refreshTtl
=
25920
00
jwt.config.key
=
5371f568a45e5ab1f442c38e0932aef24447139c
jwt.config.key
=
5371f568a45e5ab1f442c38e0932aef24447139c
jwt.config.blacklistKey
=
JWT_BLACKLIST::%s
jwt.config.blacklistKey
=
JWT_BLACKLIST::%s
...
@@ -277,8 +277,8 @@ spring.cloud.sentinel.datasource.ds2.nacos.rule-type=flow
...
@@ -277,8 +277,8 @@ spring.cloud.sentinel.datasource.ds2.nacos.rule-type=flow
#jwt config
#jwt config
jwt.config.header
=
Authorization
jwt.config.header
=
Authorization
jwt.config.ttl
=
864
00
jwt.config.ttl
=
25920
00
jwt.config.refreshTtl
=
864
00
jwt.config.refreshTtl
=
25920
00
jwt.config.key
=
5371f568a45e5ab1f442c38e0932aef24447139c
jwt.config.key
=
5371f568a45e5ab1f442c38e0932aef24447139c
jwt.config.blacklistKey
=
JWT_BLACKLIST::%s
jwt.config.blacklistKey
=
JWT_BLACKLIST::%s
...
@@ -346,7 +346,7 @@ feign.usercenter.path=/usercenter
...
@@ -346,7 +346,7 @@ feign.usercenter.path=/usercenter
uncalculated.offline.device.sns
=
1510108783,1610123299,1510108984,1500921784,2601015192,1510109188,1610518869,2600917392,1501025226,1510109311,1510108649,1610125957,75105200620,1501023417,1591211747,1510627847,2610413431,1610125355,1610125519,1610518496,75107290976,1501023623,2601023603,2601023678,2601025564,2601023373,2601025567,2601110950,1610108110,1610112756,2600919073,1500911705,1501111793,1500921686,1501024929,1501024930,1510519161,1510802779,1590630167,1510116892
uncalculated.offline.device.sns
=
1510108783,1610123299,1510108984,1500921784,2601015192,1510109188,1610518869,2600917392,1501025226,1510109311,1510108649,1610125957,75105200620,1501023417,1591211747,1510627847,2610413431,1610125355,1610125519,1610518496,75107290976,1501023623,2601023603,2601023678,2601025564,2601023373,2601025567,2601110950,1610108110,1610112756,2600919073,1500911705,1501111793,1500921686,1501024929,1501024930,1510519161,1510802779,1590630167,1510116892
```
```
##
一、项目:ne-shield-miniapp
server
##
二、项目:glsx-ne-shield-gateway-
server
### 1、开发配置
### 1、开发配置
...
...
1.9.0_七月/1.9.0需求版本开发内容.md
View file @
8cd64c2
...
@@ -17,5 +17,7 @@ http://192.168.3.233:8090/eshiled-new/ne-shield-trialdrive-admin.git develo
...
@@ -17,5 +17,7 @@ http://192.168.3.233:8090/eshiled-new/ne-shield-trialdrive-admin.git develo
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-devicemonitor-api.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-devicemonitor-api.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-devicemonitor.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-devicemonitor.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-alarmcenter.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-alarmcenter.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-gateway-server.git develop
http
:
//192.168.3.233:8090/eshiled-new/ne-shield-trialdrive-admin-api.git develop
```
```
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