diff --git a/app/models/merchant_order.py b/app/models/merchant_order.py index 922f00d..b2f7ec5 100644 --- a/app/models/merchant_order.py +++ b/app/models/merchant_order.py @@ -36,6 +36,8 @@ class MerchantOrderDB(Base): update_time = Column(DateTime(timezone=True), onupdate=func.now()) transaction_id = Column(String(64)) # 微信支付交易号 pay_time = Column(DateTime(timezone=True), nullable=True) + refund_transaction_id = Column(String(64)) # 微信退款交易号 + refund_time = Column(DateTime(timezone=True), nullable=True) class MerchantOrderCreate(BaseModel): merchant_product_id: int