chore:改了企业微信客服,智能客服的悬浮按钮

This commit is contained in:
2026-02-06 17:18:58 +08:00
parent 6d23a64aef
commit a489e24988
2 changed files with 31 additions and 2 deletions

View File

@@ -488,6 +488,24 @@ export class CustomerService {
return config?.type === 'weapp';
}
/**
* 判断是否为智能客服
* @returns {Boolean}
*/
isAIKefu() {
const config = this.getPlatformConfig();
return config?.type === 'aikefu';
}
/**
* 判断是否为企业微信客服
* @returns {Boolean}
*/
isWxworkKefu() {
const config = this.getPlatformConfig();
return config?.type === 'wxwork' || config?.type === 'qyweixin';
}
/**
* 判断是否需要同时显示小程序系统客服
* @returns {Boolean}