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
3c8e3eff
Commit
3c8e3eff
authored
Aug 29, 2025
by
86857
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"投稿管理/信箱管理/留言管理/投票管理--修改页面的问题列表" 新增删除功能
parent
54fc5b17
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
cloud-web-manage/src/main/java/com/yizhi/application/research/controller/manage/ResearchQuestionController.java
+11
-0
No files found.
cloud-web-manage/src/main/java/com/yizhi/application/research/controller/manage/ResearchQuestionController.java
View file @
3c8e3eff
...
...
@@ -442,4 +442,15 @@ public class ResearchQuestionController {
}
questionVo
.
setQuestionOptions
(
questionOptions
);
}
@GetMapping
(
"/delete"
)
@ApiOperation
(
value
=
"删除投票中问题"
)
public
Response
<
Map
<
String
,
Object
>>
deleteByResearchIdAndQueId
(
@RequestParam
(
"questionId"
)
Long
questionId
,
@RequestParam
(
"researchId"
)
Long
researchId
){
try
{
return
Response
.
ok
(
researchQuestionClient
.
deleteByResearchIdAndQueId
(
questionId
,
researchId
));
}
catch
(
Exception
e
)
{
LOGGER
.
error
(
""
,
e
);
return
Response
.
fail
(
ReturnCode
.
SERVICE_UNAVAILABLE
.
getCode
(),
ReturnCode
.
SERVICE_UNAVAILABLE
.
getMsg
());
}
}
}
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