gatsby 3 недель назад
Родитель
Сommit
cd850a3f2c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      backend/app/plugin/module_payment/account/service.py

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

@@ -514,7 +514,7 @@ class AccountService:
         for v in list(result.account_list or []):
             if not hasattr(v, "account_book_id"):
                 continue
-            if not hasattr(v, "scene") and v['scene'] != "B2B_TRANS":
+            if not hasattr(v, "scene") or v.scene != "B2B_TRANS":
                 continue
 
             account = FundAccountApiDTO.to_alipay_dict(v)