123456789101112131415161718192021 |
- # -*- coding: utf-8 -*-
- # !/usr/bin/env python
- from library.jdopen.client import api
- from library.jdopen.client.base import JdOpenBaseClient
- class JdOpenMerchantClient(JdOpenBaseClient):
- API_BASE_URL = "https://openapi.duolabao.com/"
- support = api.JdOpenSupport # type: api.JdOpenSupport
- customer = api.JdOpenCustomer # type: api.JdOpenCustomer
- settle = api.JdOpenSettleAccount # type: api.JdOpenSettleAccount
- shop = api.JdOpenShop # type: api.JdOpenShop
- attach = api.JdOpenAttach # type: api.JdOpenAttach
- complete = api.JdOpenComplete # type: api.JdOpenComplete
- audit = api.JdOpenAudit # type: api.JdOpenAudit
- def __str__(self):
- return "[JdOpenMerchantClient] accessKey = {}********".format(self._secretKey[: -8])
|