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
0
Merge Requests
0
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
b2c451a8
Commit
b2c451a8
authored
Sep 19, 2024
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 【POE】-【应用创建】应用名称应为必填项,没有填写不可发布成功 --bug:1009072
parent
ce4d270e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
AgentApplicationInfoRestImpl.java
...t_application/rest/impl/AgentApplicationInfoRestImpl.java
+1
-0
No files found.
src/main/java/cn/com/poc/agent_application/rest/impl/AgentApplicationInfoRestImpl.java
View file @
b2c451a8
...
@@ -104,6 +104,7 @@ public class AgentApplicationInfoRestImpl implements AgentApplicationInfoRest {
...
@@ -104,6 +104,7 @@ public class AgentApplicationInfoRestImpl implements AgentApplicationInfoRest {
Assert
.
notNull
(
dto
);
Assert
.
notNull
(
dto
);
Assert
.
notNull
(
dto
.
getBaseInfo
());
Assert
.
notNull
(
dto
.
getBaseInfo
());
Assert
.
notNull
(
dto
.
getBaseInfo
().
getAgentId
(),
"id不能为空"
);
Assert
.
notNull
(
dto
.
getBaseInfo
().
getAgentId
(),
"id不能为空"
);
Assert
.
notNull
(
dto
.
getBaseInfo
().
getAgentTitle
(),
"应用名称不能为空"
);
Assert
.
notNull
(
dto
.
getCommConfig
());
Assert
.
notNull
(
dto
.
getCommConfig
());
Assert
.
notNull
(
dto
.
getCommModelConfig
());
Assert
.
notNull
(
dto
.
getCommModelConfig
());
Assert
.
notNull
(
dto
.
getKnowledgeConfig
());
Assert
.
notNull
(
dto
.
getKnowledgeConfig
());
...
...
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