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
b41564e7
Commit
b41564e7
authored
Jan 22, 2025
by
alex yao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:【【POE】-【首页】模型未开启上传文件或上传图片功能,页面应不显示上传文件或上传图片功能】--bug==1009875
parent
549c6d87
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
0 deletions
+31
-0
SearchAgentApplicationDto.java
...java/cn/com/poc/expose/dto/SearchAgentApplicationDto.java
+29
-0
AgentApplicationRestImpl.java
...cn/com/poc/expose/rest/impl/AgentApplicationRestImpl.java
+2
-0
No files found.
src/main/java/cn/com/poc/expose/dto/SearchAgentApplicationDto.java
View file @
b41564e7
...
...
@@ -42,6 +42,19 @@ public class SearchAgentApplicationDto implements Serializable {
*/
private
BigDecimal
points
;
/**
* is_document_parsing
* 是否开启文档解析 1、Y 是 2、N 否
*/
private
java
.
lang
.
String
isDocumentParsing
;
/**
* unit_ids
* 组件ID
*/
private
java
.
lang
.
String
[]
unitIds
;
public
String
getAgentId
()
{
return
agentId
;
}
...
...
@@ -97,4 +110,20 @@ public class SearchAgentApplicationDto implements Serializable {
public
void
setPoints
(
BigDecimal
points
)
{
this
.
points
=
points
;
}
public
String
getIsDocumentParsing
()
{
return
isDocumentParsing
;
}
public
void
setIsDocumentParsing
(
String
isDocumentParsing
)
{
this
.
isDocumentParsing
=
isDocumentParsing
;
}
public
String
[]
getUnitIds
()
{
return
unitIds
;
}
public
void
setUnitIds
(
String
[]
unitIds
)
{
this
.
unitIds
=
unitIds
;
}
}
src/main/java/cn/com/poc/expose/rest/impl/AgentApplicationRestImpl.java
View file @
b41564e7
...
...
@@ -164,6 +164,8 @@ public class AgentApplicationRestImpl implements AgentApplicationRest {
searchAgentApplicationDto
.
setAgentAvatar
(
value
.
getAgentAvatar
());
searchAgentApplicationDto
.
setPublishedTime
(
value
.
getModifiedTime
());
searchAgentApplicationDto
.
setCreator
(
"官方"
);
searchAgentApplicationDto
.
setIsDocumentParsing
(
value
.
getIsDocumentParsing
());
searchAgentApplicationDto
.
setUnitIds
(
value
.
getUnitIds
());
searchAgentApplicationDto
.
setPoints
(
new
BigDecimal
(
pointDeductionNum
).
divide
(
new
BigDecimal
(
100
),
2
,
RoundingMode
.
HALF_UP
));
return
searchAgentApplicationDto
;
}).
collect
(
Collectors
.
toList
());
...
...
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