From bf4f0f90ee6f3781872a4cc1ad2fa0cb544e6265 Mon Sep 17 00:00:00 2001 From: kevin <1026838160@qq.com> Date: Fri, 18 Oct 2024 09:52:52 +0800 Subject: [PATCH] fix: get black list api --- docs/sdks/api/relation/getBlackList.mdx | 16 ++++++++-------- .../current/api/relation/getBlackList.mdx | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/sdks/api/relation/getBlackList.mdx b/docs/sdks/api/relation/getBlackList.mdx index c14e0626cf..d0dcc93e21 100644 --- a/docs/sdks/api/relation/getBlackList.mdx +++ b/docs/sdks/api/relation/getBlackList.mdx @@ -33,7 +33,7 @@ values={[ ### 函数原型 ```dart showLineNumbers - Future> getBlacklist({String? operationID}) + Future> getBlackList({String? operationID}) ``` ### 输入参数 @@ -49,7 +49,7 @@ values={[ ### 代码示例 ```dart showLineNumbers - List list = await OpenIM.iMManager.friendshipManager.getBlacklist(); + List list = await OpenIM.iMManager.friendshipManager.getBlackList(); // todo ``` @@ -95,7 +95,7 @@ values={[ ```java showLineNumbers -public void getBlacklist(OnBase> callBack) +public void getBlackList(OnBase> callBack) ``` @@ -111,7 +111,7 @@ public void getBlacklist(OnBase> callBack) ```java showLineNumbers -OpenIMClient.getInstance().friendshipManager.getBlacklist(new OnBase>(){...}) +OpenIMClient.getInstance().friendshipManager.getBlackList(new OnBase>(){...}) ``` @@ -122,7 +122,7 @@ OpenIMClient.getInstance().friendshipManager.getBlacklist(new OnBase> +IMSDK.getBlackList(operationID?: string): Promise> ``` ### 输入参数 @@ -150,7 +150,7 @@ const IMSDK = getSDK(); // import { OpenIMSDK } from 'open-im-sdk'; // const IMSDK = new OpenIMSDK(); -IMSDK.getBlacklist() +IMSDK.getBlackList() .then(({ data }) => { // 调用成功 }) @@ -166,7 +166,7 @@ IMSDK.getBlacklist() ### 函数原型 ```ts showLineNumbers -IMSDK.asyncApi('getBlacklist', operationID: string): Promise +IMSDK.asyncApi('getBlackList', operationID: string): Promise ``` ### 输入参数 @@ -189,7 +189,7 @@ IMSDK.asyncApi('getBlacklist', operationID: string): Promise ```js showLineNumbers import IMSDK from 'openim-uniapp-polyfill'; -IMSDK.asyncApi('getBlacklist', IMSDK.uuid()) +IMSDK.asyncApi('getBlackList', IMSDK.uuid()) .then((data) => { // 调用成功 }) diff --git a/i18n/en/docusaurus-plugin-content-docs-sdks/current/api/relation/getBlackList.mdx b/i18n/en/docusaurus-plugin-content-docs-sdks/current/api/relation/getBlackList.mdx index ae10a0a539..c3f1c867bc 100644 --- a/i18n/en/docusaurus-plugin-content-docs-sdks/current/api/relation/getBlackList.mdx +++ b/i18n/en/docusaurus-plugin-content-docs-sdks/current/api/relation/getBlackList.mdx @@ -32,7 +32,7 @@ values={[ ### Function Prototype ```dart showLineNumbers - Future> getBlacklist({String? operationID}) + Future> getBlackList({String? operationID}) ``` ### Input Parameters @@ -48,7 +48,7 @@ None ### Code Example ```dart showLineNumbers - List list = await OpenIM.iMManager.friendshipManager.getBlacklist(); + List list = await OpenIM.iMManager.friendshipManager.getBlackList(); // todo ``` @@ -94,7 +94,7 @@ None ```java showLineNumbers -public void getBlacklist(OnBase> callBack) +public void getBlackList(OnBase> callBack) ``` @@ -110,7 +110,7 @@ public void getBlacklist(OnBase> callBack) ```java showLineNumbers -OpenIMClient.getInstance().friendshipManager.getBlacklist(new OnBase>(){...}) +OpenIMClient.getInstance().friendshipManager.getBlackList(new OnBase>(){...}) ``` @@ -121,7 +121,7 @@ OpenIMClient.getInstance().friendshipManager.getBlacklist(new OnBase> +IMSDK.getBlackList(operationID?: string): Promise> ``` ### Input Parameters @@ -149,7 +149,7 @@ const IMSDK = getSDK(); // import { OpenIMSDK } from 'open-im-sdk'; // const IMSDK = new OpenIMSDK(); -IMSDK.getBlacklist() +IMSDK.getBlackList() .then(({ data }) => { // Successful call }) @@ -165,7 +165,7 @@ IMSDK.getBlacklist() ### Function Prototype ```ts showLineNumbers -IMSDK.asyncApi('getBlacklist', operationID: string): Promise +IMSDK.asyncApi('getBlackList', operationID: string): Promise ``` ### Input Parameters @@ -188,7 +188,7 @@ IMSDK.asyncApi('getBlacklist', operationID: string): Promise ```js showLineNumbers import IMSDK from 'openim-uniapp-polyfill'; -IMSDK.asyncApi('getBlacklist', IMSDK.uuid()) +IMSDK.asyncApi('getBlackList', IMSDK.uuid()) .then((data) => { // Successful call })