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-16 09:38:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
46a702c8a8498d557b5d093fa1cf2552963f0190
46a702c8
1 parent
ba655357
update
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
API/waybill_api.py
langgraph_examples/api_agent.py
API/waybill_api.py
View file @
46a702c
...
...
@@ -136,8 +136,6 @@ def create_waybill_d(consignmentCode: str, Authorization: str = None) -> str:
def
create_waybill_d_with_id
(
consignmentCode
:
str
,
consignmentId
:
str
,
loginName
:
str
,
userId
:
int
,
Authorization
:
str
=
None
,
)
->
str
:
"""根据运单ID及运单号创建D类运单
...
...
@@ -145,8 +143,6 @@ def create_waybill_d_with_id(
Args:
consignmentCode: 运单号(必填)
consignmentId: 运单ID(必填)
loginName: 登录名(必填)
userId: 用户ID(必填)
Authorization: 授权令牌,如果提供则使用该值,否则使用 API_CONFIG 中的默认值
Returns:
...
...
@@ -160,8 +156,8 @@ def create_waybill_d_with_id(
"consignmentCode"
:
consignmentCode
,
"consignmentId"
:
consignmentId
,
"isAIRecognition"
:
1
,
# 写死为1
"loginName"
:
loginName
,
"userId"
:
userId
"loginName"
:
"CL1"
,
# 硬编码
"userId"
:
73768
# 硬编码
}
# 构建 headers,优先使用传入的 Authorization
...
...
langgraph_examples/api_agent.py
View file @
46a702c
This diff is collapsed. Click to expand it.
Please
register
or
login
to post a comment