Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
邬吉朋
blg
Commits
f176c3dd
Commit
f176c3dd
authored
Apr 23, 2026
by
wujipeng
Browse files
优化
parent
17073c81
Changes
1
Show whitespace changes
Inline
Side-by-side
src/main/java/org/example/blg/controller/KnowledgeSessionController.java
View file @
f176c3dd
...
@@ -27,9 +27,10 @@ public class KnowledgeSessionController {
...
@@ -27,9 +27,10 @@ public class KnowledgeSessionController {
@ApiOperation
(
value
=
"新增会话"
)
@ApiOperation
(
value
=
"新增会话"
)
@PostMapping
(
"/save"
)
@PostMapping
(
"/save"
)
public
Result
<
Boolean
>
save
(
@RequestBody
KnowledgeSessionDTO
knowledgeSessionDTO
)
{
public
Result
<
String
>
save
(
@RequestBody
KnowledgeSessionDTO
knowledgeSessionDTO
)
{
knowledgeSessionDTO
.
setCreateTime
(
new
Date
());
knowledgeSessionDTO
.
setCreateTime
(
new
Date
());
return
Result
.
success
(
knowledgeSessionService
.
save
(
knowledgeSessionDTO
));
knowledgeSessionService
.
save
(
knowledgeSessionDTO
);
return
Result
.
success
(
knowledgeSessionDTO
.
getId
());
}
}
@ApiOperation
(
value
=
"删除会话"
)
@ApiOperation
(
value
=
"删除会话"
)
...
...
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