记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
db367dc5
Commit
db367dc5
authored
Jan 10, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频人流量 streamName
parent
b014a0e5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
20 deletions
+7
-20
KylinCamera.java
.../java/com/liquidnet/service/kylin/entity/KylinCamera.java
+2
-7
db_0110_camera.sql
...ylin/liquidnet-service-kylin-impl/docu/db_0110_camera.sql
+1
-2
KylinCameraCallBackController.java
...tform/controller/kylin/KylinCameraCallBackController.java
+4
-11
No files found.
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/entity/KylinCamera.java
View file @
db367dc5
...
...
@@ -30,14 +30,9 @@ public class KylinCamera implements Serializable {
private
String
cameraId
;
/**
* 国标ID
*
设备用户名/
国标ID
*/
private
String
cameraGbId
;
/**
* 设备ID
*/
private
String
cameraName
;
private
String
streamName
;
/**
* 场地ID
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/docu/db_0110_camera.sql
View file @
db367dc5
...
...
@@ -3,8 +3,7 @@ CREATE TABLE `kylin_camera`
(
`mid`
int
unsigned
NOT
NULL
AUTO_INCREMENT
,
`camera_id`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'camera_id'
,
`camera_gb_id`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'国标ID'
,
`camera_name`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'设备ID'
,
`stream_name`
varchar
(
255
)
NOT
NULL
DEFAULT
''
COMMENT
'设备用户名/国标ID'
,
`field_id`
varchar
(
64
)
NOT
NULL
DEFAULT
''
COMMENT
'场地ID'
,
`img_url`
varchar
(
500
)
NOT
NULL
DEFAULT
''
COMMENT
'截图url'
,
`site_type`
tinyint
NOT
NULL
DEFAULT
0
COMMENT
'地点类型 1卫生间 2。。。'
,
...
...
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/controller/kylin/KylinCameraCallBackController.java
View file @
db367dc5
...
...
@@ -24,19 +24,12 @@ public class KylinCameraCallBackController {
@ApiOperation
(
"截图回调"
)
public
String
record
(
@RequestBody
String
requestBody
,
// @RequestParam() String requestBody,
@RequestParam
(
value
=
"Version"
,
defaultValue
=
""
)
String
Version
,
@RequestParam
(
value
=
"Signature"
,
defaultValue
=
""
)
String
Signature
,
@RequestParam
(
value
=
"SignatureMethod"
,
defaultValue
=
""
)
String
SignatureMethod
,
@RequestParam
(
value
=
"SignatureNonce"
,
defaultValue
=
""
)
String
SignatureNonce
,
@RequestParam
(
value
=
"SignatureVersion"
,
defaultValue
=
""
)
String
SignatureVersion
,
@RequestParam
(
value
=
"AccessKeyId"
,
defaultValue
=
""
)
String
AccessKeyId
,
@RequestParam
(
value
=
"Timestamp"
,
defaultValue
=
""
)
String
Timestamp
@RequestParam
(
value
=
"siteType"
)
Integer
siteType
,
@RequestParam
(
value
=
"fieldId"
)
String
fieldId
)
{
try
{
log
.
info
(
"\n接收截图回调请求:[Version=[{}], Signature=[{}], [SignatureMethod=[{}], SignatureNonce=[{}], SignatureVersion=[{}],"
+
" AccessKeyId=[{}], Timestamp=[{}], requestBody=[\n{}\n] "
,
Version
,
Signature
,
SignatureMethod
,
SignatureNonce
,
SignatureVersion
,
AccessKeyId
,
Timestamp
,
requestBody
);
log
.
info
(
"接收截图回调请求:[siteType=[{}], fieldId=[{}], requestBody=[{}]"
,
siteType
,
fieldId
,
requestBody
);
// TODO: 2022/1/10 jxltodo 验签
return
"success"
;
}
catch
(
Exception
e
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment