This commit is contained in:
Archer 2019-04-16 19:41:12 +08:00
parent d201c5b65a
commit 76a8c5752c

View File

@ -125,7 +125,6 @@ class OnetokenRestApi(RestClient):
endpoint = '/' + request.path.split('/', 3)[3] endpoint = '/' + request.path.split('/', 3)[3]
# v1/trade/okex/mock-example/info -> okex/mock-example/info # v1/trade/okex/mock-example/info -> okex/mock-example/info
print('endpoint>>>>', endpoint)
parsed_url = urlparse(endpoint) parsed_url = urlparse(endpoint)
path = parsed_url.path path = parsed_url.path