Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
Details
Activity
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
项目统一框架
amos-boot-biz
Commits
0b58ecdf
Commit
0b58ecdf
authored
Apr 08, 2025
by
tianbo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(video): 添加视频协议类型设置
- 在解析视频URL的同时,增加了视频协议类型字段的设置- 从请求参数中获取"protocol"字段,并将其设置为视频的类型
parent
a928be6d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
BaseEnterpriseVideoServiceImpl.java
...mmon/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
+1
-0
No files found.
amos-boot-system-tzs/amos-boot-module-common/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/BaseEnterpriseVideoServiceImpl.java
View file @
0b58ecdf
...
@@ -114,6 +114,7 @@ public class BaseEnterpriseVideoServiceImpl extends BaseService<BaseEnterpriseVi
...
@@ -114,6 +114,7 @@ public class BaseEnterpriseVideoServiceImpl extends BaseService<BaseEnterpriseVi
JSONObject
dataObj
=
(
JSONObject
)
result
.
get
(
"data"
);
JSONObject
dataObj
=
(
JSONObject
)
result
.
get
(
"data"
);
String
cameraUrl
=
dataObj
.
getString
(
"url"
);
String
cameraUrl
=
dataObj
.
getString
(
"url"
);
video
.
setUrl
(
cameraUrl
);
video
.
setUrl
(
cameraUrl
);
video
.
setType
(
param
.
getString
(
"protocol"
));
}
}
}
catch
(
URISyntaxException
e
)
{
}
catch
(
URISyntaxException
e
)
{
throw
new
RuntimeException
(
"URL格式解析异常"
,
e
);
throw
new
RuntimeException
(
"URL格式解析异常"
,
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