update
This commit is contained in:
parent
b053b628f1
commit
a8cd338acc
@ -275,7 +275,7 @@ async def create_order(
|
||||
for package in order.price_request.packages:
|
||||
# 如果包裹有取件码,则创建包裹
|
||||
if len(package.pickup_codes) > 0:
|
||||
if not station_name:
|
||||
if not package.station_name:
|
||||
station = db.query(StationDB).filter(
|
||||
StationDB.id == package.station_id
|
||||
).first()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user