Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qsh-wc
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
honghuiliu
qsh-wc
Commits
1e6ff746
Commit
1e6ff746
authored
Sep 28, 2022
by
honghuiliu
💬
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
7eb9cd7d
f90cc811
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
4 deletions
+12
-4
EZUIKitJs.vue
pc/src/components/EZUIKitJs.vue
+8
-0
config-prod.yaml
server/config-prod.yaml
+1
-1
config-test.yaml
server/config-test.yaml
+1
-1
dtu.go
server/server/dtu.go
+1
-1
fn.go
server/utils/fn.go
+1
-1
No files found.
pc/src/components/EZUIKitJs.vue
View file @
1e6ff746
...
...
@@ -41,6 +41,14 @@
window
.
addEventListener
(
'onresize'
,
this
.
resize
);
})
},
unmounted
(){
if
(
this
.
player
){
window
.
removeEventListener
(
'onresize'
,
this
.
resize
);
this
.
player
.
stop
();
this
.
player
=
null
;
}
},
methods
:
{
play
()
{
const
playPromise
=
this
.
player
.
play
();
...
...
server/config-prod.yaml
View file @
1e6ff746
...
...
@@ -172,7 +172,7 @@ oss:
# dtu设备配置
dtuServer
:
addr
:
0.0.0.0:9804
enable
:
fals
e
enable
:
tru
e
# 莹石云帐号
yinShiYun
:
...
...
server/config-test.yaml
View file @
1e6ff746
...
...
@@ -172,7 +172,7 @@ oss:
# dtu设备配置
dtuServer
:
addr
:
0.0.0.0:9804
enable
:
tru
e
enable
:
fals
e
# 莹石云帐号
yinShiYun
:
...
...
server/server/dtu.go
View file @
1e6ff746
...
...
@@ -70,7 +70,7 @@ func dtuOnMessage(conn net.Conn) {
if
yeWeiCb
!=
nil
{
err
=
yeWeiCb
(
yeweiData
)
if
err
!=
nil
{
global
.
GVA_LOG
.
Error
(
fmt
.
Sprintf
(
"处理液位回调失败 strData: %s
"
,
strData
))
global
.
GVA_LOG
.
Error
(
fmt
.
Sprintf
(
"处理液位回调失败 strData: %s
, err:%s"
,
strData
,
err
.
Error
()
))
}
}
}
...
...
server/utils/fn.go
View file @
1e6ff746
...
...
@@ -41,5 +41,5 @@ func GetYinShiAccessToken(userName string) (string, error) {
// GetCameraUrl 获取监控播放地址
func
GetCameraUrl
(
deviceId
string
)
string
{
return
fmt
.
Sprintf
(
"ezopen://open.ys7.com/%s/1.
hd.
live"
,
deviceId
)
return
fmt
.
Sprintf
(
"ezopen://open.ys7.com/%s/1.live"
,
deviceId
)
}
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