Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
legobackend
/
lego-manage
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f460d4f3
authored
2025-06-30 19:52:43 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
95f10dc6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
4 deletions
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
View file @
f460d4f
...
...
@@ -143,10 +143,7 @@ public class CourseServiceImpl implements ICourseService {
List
<
CourseVo
>
list
=
baseMapper
.
selectVoList
(
null
);
for
(
CourseVo
vo
:
list
)
{
if
(
StrUtil
.
isNotBlank
(
vo
.
getTwoDimensionalOssId
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getTwoDimensionalOssId
()));
if
(
Objects
.
nonNull
(
oss
))
{
vo
.
setTwoDimensionalOssUrl
(
oss
.
getUrl
());
}
vo
.
setTwoDimensionalOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getTwoDimensionalOssId
()));
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getTwoDimensionalUrl
())){
SysOssVo
oss
=
iSysOssService
.
getById
(
Long
.
valueOf
(
vo
.
getTwoDimensionalUrl
()));
...
...
Write
Preview
Styling with
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