Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gamera_videos_no_ui
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liusq
gamera_videos_no_ui
Commits
d9901478
Commit
d9901478
authored
Feb 17, 2025
by
“liusq”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
过滤特殊的日志04
parent
d86d8254
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
HttpService.cpp
+2
-1
No files found.
HttpService.cpp
View file @
d9901478
...
...
@@ -563,12 +563,13 @@ vides_data::response *HttpService::httpDeviceConfig(const QString &serialNumber,
config
.
humanConfig
.
updateAt
=
humanConfigObj
[
"updateAt"
].
toVariant
().
toULongLong
();
config
.
humanConfig
.
faceFrequency
=
humanConfigObj
[
"faceFrequency"
].
toVariant
().
toUInt
();
//解析nvrConfig;
QJsonObject
nvrConfigObj
=
dataObj
[
"nvrConfig
;
"
].
toObject
();
QJsonObject
nvrConfigObj
=
dataObj
[
"nvrConfig"
].
toObject
();
config
.
nvrConfig
.
isOn
=
nvrConfigObj
[
"isOn"
].
toBool
();
config
.
nvrConfig
.
ip
=
nvrConfigObj
[
"ip"
].
toString
();
config
.
nvrConfig
.
port
=
(
unsigned
short
)
nvrConfigObj
[
"port"
].
toInt
();
config
.
nvrConfig
.
password
=
nvrConfigObj
[
"password"
].
toString
();
config
.
nvrConfig
.
username
=
nvrConfigObj
[
"username"
].
toString
();
// 解析 devicesConfig
QJsonObject
devicesConfigObj
=
dataObj
[
"camera"
].
toObject
();
config
.
camera
.
password
=
devicesConfigObj
[
"password"
].
toString
();
...
...
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