From 80b16d2b4368978bc0c2f4dcc4e9155e8703762b Mon Sep 17 00:00:00 2001 From: chenos Date: Tue, 25 Oct 2022 15:57:15 +0800 Subject: [PATCH] feat: api service --- packages/core/client/src/api-client/APIClient.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/client/src/api-client/APIClient.ts b/packages/core/client/src/api-client/APIClient.ts index 503195645..fe0df9ea4 100644 --- a/packages/core/client/src/api-client/APIClient.ts +++ b/packages/core/client/src/api-client/APIClient.ts @@ -10,6 +10,10 @@ export class APIClient extends APIClientSDK { return this.services[uid]; } + service(uid: string) { + return this.service[uid]; + } + interceptors() { super.interceptors(); this.notification();