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
243f2e23
authored
2025-08-10 17:21:13 +0800
by
chentao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
no message
1 parent
7c53800e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
lego-admin/src/main/java/com/lego/web/controller/core/CourseController.java
View file @
243f2e2
...
...
@@ -19,6 +19,7 @@ import com.lego.oss.factory.OssFactory;
import
com.lego.system.domain.vo.SysOssVo
;
import
com.lego.system.service.impl.SysOssServiceImpl
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletRequest
;
...
...
@@ -80,6 +81,8 @@ public class CourseController extends BaseController {
@GetMapping
(
"/encrypt"
)
public
R
<
String
>
encrypt
()
{
List
<
CourseVo
>
list
=
baseMapper
.
selectVoList
(
null
);
if
(!
CollectionUtils
.
isEmpty
(
list
))
System
.
out
.
println
(
"=================list.size()==========="
+
list
.
size
());
OssClient
storage
=
OssFactory
.
instance
();
for
(
CourseVo
courseVo
:
list
)
{
String
ossIds
=
courseVo
.
getTwoDimensionalType
();
...
...
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