Commit b2c451a8 authored by alex yao's avatar alex yao

fix: 【POE】-【应用创建】应用名称应为必填项,没有填写不可发布成功 --bug:1009072

parent ce4d270e
......@@ -104,6 +104,7 @@ public class AgentApplicationInfoRestImpl implements AgentApplicationInfoRest {
Assert.notNull(dto);
Assert.notNull(dto.getBaseInfo());
Assert.notNull(dto.getBaseInfo().getAgentId(), "id不能为空");
Assert.notNull(dto.getBaseInfo().getAgentTitle(), "应用名称不能为空");
Assert.notNull(dto.getCommConfig());
Assert.notNull(dto.getCommModelConfig());
Assert.notNull(dto.getKnowledgeConfig());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment