瀏覽代碼

fix: 修正

gatsby 3 周之前
父節點
當前提交
7c96cc0c18

+ 1 - 0
backend/app/plugin/module_payment/notification/schemas.py

@@ -153,6 +153,7 @@ class OrderChangeContent(BaseModel):
     """
 
     order_no: str = Field(..., description="支付宝订单号")
+    biz_out_no: str = Field(..., description="商户订单号")
     enterprise_id: str = Field(..., description="企业ID")
     employee_id: str | None = Field(None, description="员工ID")
     out_biz_no: str | None = Field(None, description="外部业务号")

+ 1 - 1
backend/app/plugin/module_payment/notification/service.py

@@ -28,7 +28,7 @@ class NotificationService:
         AlipayNotifyMethodEnum.EMPLOYEE_CHANGE.value: EmployeeHandler,
         AlipayNotifyMethodEnum.CONSUME_CHANGE.value: BillHandler,
         AlipayNotifyMethodEnum.VOUCHER_CHANGE.value: VoucherHandler,
-        AlipayNotifyMethodEnum.INVOICE_ORDER_CHANGE.value: OrderHandler,
+        # AlipayNotifyMethodEnum.INVOICE_ORDER_CHANGE.value: OrderHandler,
         AlipayNotifyMethodEnum.TRANS_AUTHORIZE_NOTIFY.value: AccountHandler,
         AlipayNotifyMethodEnum.FUND_CHANGE_NOTIFY.value: AccountHandler,
     }