update
This commit is contained in:
parent
aa400c2dce
commit
6b11056697
@ -142,7 +142,7 @@ async def create_payment(
|
||||
return error_response(code=404, message="订单不存在")
|
||||
description = "蜂快到家-配送费用"
|
||||
amount = order.final_amount
|
||||
elif order_prefix == "AD": # 加价订单
|
||||
elif order_prefix == "A": # 加价订单
|
||||
order = db.query(OrderAdditionalFeeDB).filter(
|
||||
OrderAdditionalFeeDB.fee_order_id == request.order_id
|
||||
).first()
|
||||
@ -246,7 +246,7 @@ async def payment_notify(
|
||||
order.transaction_id = transaction_id
|
||||
order.pay_time = datetime.fromisoformat(success_time.replace('Z', '+00:00'))
|
||||
|
||||
elif out_trade_no.startswith("AD"): # 加价订单
|
||||
elif out_trade_no.startswith("A"): # 加价订单
|
||||
additon_fee_order = db.query(OrderAdditionalFeeDB).filter(
|
||||
OrderAdditionalFeeDB.fee_order_id == out_trade_no
|
||||
).first()
|
||||
|
||||
BIN
jobs.sqlite
BIN
jobs.sqlite
Binary file not shown.
Loading…
Reference in New Issue
Block a user