Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cloud-web
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
0
Merge Requests
0
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
hqzhdj
cloud-web
Commits
abb8e5ff
Commit
abb8e5ff
authored
Sep 02, 2025
by
“Kongxiangkun”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资讯详情浏览增加日志
parent
d83dbc86
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
cloud-web-manage/src/main/java/com/yizhi/application/exam/controller/ExamImportController.java
+5
-1
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/exam/controller/ExamImportController.java
View file @
abb8e5ff
package
com
.
yizhi
.
application
.
exam
.
controller
;
package
com
.
yizhi
.
application
.
exam
.
controller
;
import
cn.hutool.json.JSONUtil
;
import
com.yizhi.application.exam.vo.ImportVO
;
import
com.yizhi.application.exam.vo.ImportVO
;
import
com.yizhi.core.application.context.ContextHolder
;
import
com.yizhi.core.application.context.ContextHolder
;
import
com.yizhi.core.application.context.RequestContext
;
import
com.yizhi.core.application.context.RequestContext
;
import
com.yizhi.util.application.domain.Response
;
import
com.yizhi.util.application.domain.Response
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.Api
;
import
io.swagger.annotations.ApiOperation
;
import
io.swagger.annotations.ApiOperation
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
...
@@ -15,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
...
@@ -15,6 +17,7 @@ import org.springframework.web.bind.annotation.*;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.Map
;
import
java.util.Map
;
@Log4j2
@Api
(
tags
=
"管理端-导入接口"
,
description
=
"管理端-导入接口"
)
@Api
(
tags
=
"管理端-导入接口"
,
description
=
"管理端-导入接口"
)
@RestController
@RestController
@RequestMapping
(
"/manage/exam"
)
@RequestMapping
(
"/manage/exam"
)
...
@@ -43,7 +46,8 @@ public class ExamImportController {
...
@@ -43,7 +46,8 @@ public class ExamImportController {
map
.
put
(
"orgId"
,
orgId
);
map
.
put
(
"orgId"
,
orgId
);
map
.
put
(
"libraryId"
,
importVO
.
getId
());
map
.
put
(
"libraryId"
,
importVO
.
getId
());
map
.
put
(
"url"
,
importVO
.
getUrl
());
map
.
put
(
"url"
,
importVO
.
getUrl
());
ls
.
execute
(
map
,
true
);
log
.
info
(
"题目导入入参:{}"
,
JSONUtil
.
toJsonStr
(
importVO
));
ls
.
execute
(
map
,
false
);
return
Response
.
ok
();
return
Response
.
ok
();
}
}
...
...
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