Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Pangea-Agent
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
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
Gavin-Group
Pangea-Agent
Commits
c95b5241
Commit
c95b5241
authored
Dec 25, 2025
by
youxiaoji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* [即使页面已获取,也要将表单数据发送给前端]
parent
cc2063d4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
VisitorAppointmentTool.java
...java/pangea/hiagent/tool/impl/VisitorAppointmentTool.java
+10
-1
No files found.
backend/src/main/java/pangea/hiagent/tool/impl/VisitorAppointmentTool.java
View file @
c95b5241
...
...
@@ -309,8 +309,17 @@ public class VisitorAppointmentTool {
* @return 页面内容(HTML文本)
*/
@Tool
(
description
=
"获取访客预约申请必要信息"
)
public
String
getAppointmentApplyNecessaryInfo
()
{
public
String
getAppointmentApplyNecessaryInfo
()
throws
IOException
{
if
(
infoCollectorService
.
exists
(
pageId
)){
JSONArray
jsonArray
=
infoCollectorService
.
getInfo
(
pageId
);
JSONArray
lackJson
=
new
JSONArray
();
for
(
int
i
=
0
;
i
<
jsonArray
.
size
();
i
++){
JSONObject
tmp
=
jsonArray
.
getJSONObject
(
i
);
lackJson
.
add
(
tmp
.
getJSONObject
(
"pangea_json"
));
}
JSONObject
formMessage
=
new
JSONObject
();
formMessage
.
put
(
"coms"
,
lackJson
);
sendFormMessage
(
formMessage
);
return
"已获取必要信息,保存用户提交的信息"
;
}
long
startTime
=
System
.
currentTimeMillis
();
...
...
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