Explorar el Código

fix(account): 转账接口透传 remark 字段到支付宝

alphah hace 6 días
padre
commit
f91220ad6c
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      backend/app/plugin/module_payment/account/service.py

+ 4 - 0
backend/app/plugin/module_payment/account/service.py

@@ -381,6 +381,8 @@ class AccountService:
             )
 
         model.payee_info = payee_info
+        if data.remark:
+            model.remark = data.remark
 
         request = AlipayCommerceEcTransAccountTransferRequest()
         request.biz_model = model
@@ -519,6 +521,8 @@ class AccountService:
             )
 
         model.payee_info = payee_info
+        if data.remark:
+            model.remark = data.remark
 
         request = AlipayCommerceEcTransAccountTransferRequest()
         request.biz_model = model