Skip to content

Commit

Permalink
fix: 收货人
Browse files Browse the repository at this point in the history
  • Loading branch information
Hobr committed Nov 15, 2024
1 parent eda6311 commit 61c3767
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interface/CLI/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def DeliverStep() -> dict:
)

id = choice[select]
return deliver[id]
return deliver[id]["数据"]

except InfoException:
logger.error("选择错误! 请重新打开进行配置")
Expand Down
2 changes: 1 addition & 1 deletion util/Info/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ def Deliver(self) -> list:
for _i, info in enumerate(lists):
data_info["name"] = info["name"]
data_info["tel"] = info["phone"]
data_info["addr_id"] = info["addr_id"]
data_info["addr_id"] = info["id"]
data_info["addr"] = info["prov"] + info["city"] + info["area"] + info["addr"]

deliver_info = {
Expand Down

0 comments on commit 61c3767

Please sign in to comment.