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-15 13:49:16 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6be7872a03ac13a1f50e4b08caf4411e82fdfdb9
6be7872a
1 parent
c315e53a
update
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
API/waybill_api.py
API/waybill_api.py
View file @
6be7872
...
...
@@ -185,7 +185,11 @@ def create_waybill_d_with_id(
extra
=
data
.
get
(
'extra'
)
or
{}
waybill_id
=
extra
.
get
(
'id'
)
if
waybill_id
is
not
None
:
return
waybill_id
# 返回数字格式的运单ID
# 返回包含 waybill_id 和 message 的JSON
return
json
.
dumps
({
"waybill_id"
:
waybill_id
,
"message"
:
"创建运单成功"
},
ensure_ascii
=
False
)
return
f
"❌ 创建失败: 响应中未找到运单ID"
return
f
"❌ 创建失败: HTTP {response.status_code}, 错误信息: {response.text}"
...
...
Please
register
or
login
to post a comment