12345678910111213141516171819202122 |
- # -*- 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/"
- # API_BASE_URL = 'https://openapi-uat.duolabao.com/'
- support = api.JdOpenSupport # type: api.JdOpenSupport
- customer = api.JdOpenCustomer # type: api.JdOpenCustomer
- settle = api.JdOpenSettle # type: api.JdOpenSettle
- 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])
|