123456789101112131415161718192021 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- from typing import Union, TYPE_CHECKING
- from apps.web.core.payment.base import PaymentGateway
- from apps.web.core.payment.base import WithdrawGateway
- if TYPE_CHECKING:
- from apps.web.core.payment.ali import AliPayGateway
- from apps.web.core.payment.dlb import DlbPaymentGateway
- from apps.web.core.payment.jdaggre import JDAggrePaymentGateway
- from apps.web.core.payment.saobei import SaobeiPaymentGateway
- from apps.web.core.payment.wechat import WechatPaymentGateway
- from apps.web.core.payment.jdopen import JDOpenPaymentGateway
- PaymentGatewayT = Union[
- AliPayGateway, WechatPaymentGateway, SaobeiPaymentGateway,
- DlbPaymentGateway, JDAggrePaymentGateway, JDOpenPaymentGateway]
- WechatMiniPaymentGatewayT = Union[WechatPaymentGateway, JDOpenPaymentGateway, JDAggrePaymentGateway]
|