Toggle navigation
Toggle navigation
This project
Loading...
Sign in
zhouhui.jiang
/
Test_LangGraph
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
zhouhui.jiang
2025-11-18 14:40:01 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
9395c33b69f22d68fc1e232192d278a8c7cb2df0
9395c33b
1 parent
e021e2df
update
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
API/waybill_api.py
langgraph_examples/api_agent.py
API/waybill_api.py
View file @
9395c33
...
...
@@ -170,6 +170,24 @@ def create_waybill_d(consignmentCode: str, Authorization: str = None) -> str:
return
_create_error_response
(
f
"创建运单失败: {str(e)}"
,
consignmentCode
)
def
create_waybill_c
(
consignmentCode
:
str
,
Authorization
:
str
=
None
)
->
str
:
"""根据运单号创建C类运单
Args:
consignmentCode: 运单号(必填)
Authorization: 授权令牌,如果提供则使用该值,否则使用 API_CONFIG 中的默认值
Returns:
创建结果信息(JSON字符串),包含:
- message: 创建结果描述
"""
# 暂时不支持AI创建C类运单
result_data
=
{
"message"
:
"暂不支持AI创建"
}
return
json
.
dumps
(
result_data
,
ensure_ascii
=
False
,
indent
=
2
)
def
create_waybill_d_with_id
(
consignmentCode
:
str
,
consignmentId
:
str
,
...
...
langgraph_examples/api_agent.py
View file @
9395c33
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment