Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
poc-api
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
poc
poc-api
Commits
49c042ed
Commit
49c042ed
authored
Aug 25, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:null
parent
72f0d53f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
PortalRestImpl.java
...main/java/cn/com/poc/portal/rest/impl/PortalRestImpl.java
+2
-0
No files found.
src/main/java/cn/com/poc/portal/rest/impl/PortalRestImpl.java
View file @
49c042ed
...
...
@@ -27,6 +27,8 @@ public class PortalRestImpl implements PortalRest {
@Override
public
void
call
(
PortalDialoguesDto
dto
)
throws
Exception
{
Assert
.
notNull
(
dto
,
"请求参数不能为空"
);
Assert
.
notBlank
(
dto
.
getDialoguesId
(),
"会话ID不能为空"
);
Assert
.
notBlank
(
dto
.
getInput
(),
"对话内容不能为空"
);
UserBaseEntity
userBaseEntity
=
BlContext
.
getCurrentUserNotException
();
if
(
ObjectUtil
.
isEmpty
(
userBaseEntity
))
{
throw
new
BusinessException
(
"用户未登录"
);
...
...
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