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
c95d578c
authored
2025-06-02 21:30:28 +0800
by
张方超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
# 修改/core/upgrade/list接口
1. 课程案例和教案文件返回格式新增字段
1 parent
be41a1f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
lego-core/src/main/java/com/lego/core/domin/vo/CourseVo.java
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
lego-core/src/main/java/com/lego/core/domin/vo/CourseVo.java
View file @
c95d578
...
...
@@ -90,6 +90,7 @@ public class CourseVo {
* 案例oss_URL
*/
private
String
caseOssUrl
;
private
List
<
BizFileVo
>
caseFileVoList
;
/**
* 案例名称
...
...
@@ -105,6 +106,7 @@ public class CourseVo {
* 教案 oss_URL
*/
private
String
teachingOssUrl
;
private
List
<
BizFileVo
>
teachingFileVoList
;
/**
* 教案名称
...
...
@@ -143,4 +145,9 @@ public class CourseVo {
* 前端APP数据国际化(zh_CN、en_US、ru_RU)
*/
private
String
language
;
/**
* 是否打包,默认否
*/
private
Integer
canPack
;
}
\ No newline at end of file
...
...
lego-core/src/main/java/com/lego/core/service/impl/CourseServiceImpl.java
View file @
c95d578
...
...
@@ -145,9 +145,11 @@ public class CourseServiceImpl implements ICourseService {
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getCaseOssId
())){
vo
.
setCaseOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getCaseOssId
()));
vo
.
setCaseFileVoList
(
ossUrlService
.
selectFileVoByIds
(
vo
.
getCaseOssId
()));
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getTeachingOssId
())){
vo
.
setTeachingOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getTeachingOssId
()));
vo
.
setTeachingFileVoList
(
ossUrlService
.
selectFileVoByIds
(
vo
.
getTeachingOssId
()));
}
if
(
StrUtil
.
isNotBlank
(
vo
.
getPptOssId
())){
vo
.
setPptOssUrl
(
ossUrlService
.
selectUrlByIds
(
vo
.
getPptOssId
()));
...
...
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