This commit is contained in:
pengxiaolong
2025-05-13 19:39:53 +08:00
parent 37da6765b8
commit c006a8e63d
1232 changed files with 96963 additions and 883 deletions

View File

@@ -0,0 +1,18 @@
import TUICustomerPluginServer from './server';
import { isMessageInvisible } from './utils/index';
const TUICustomerServer = TUICustomerPluginServer.getInstance();
// 判断消息是否为客服号的自定义消息
const isCustomerServicePluginMessage = TUICustomerServer.isCustomerServicePluginMessage.bind(TUICustomerServer);
// 设置客服号
const setCustomerServiceAccounts = TUICustomerServer.setCustomerServiceAccounts.bind(TUICustomerServer);
// 获取客服号
const getCustomerServiceAccounts = TUICustomerServer.getCustomerServiceAccounts.bind(TUICustomerServer);
export {
isCustomerServicePluginMessage,
isMessageInvisible,
setCustomerServiceAccounts,
getCustomerServiceAccounts,
};