chore:智能客服正常运行

This commit is contained in:
2026-01-31 10:06:59 +08:00
parent 42563d7184
commit 7f7a18803f
4 changed files with 32 additions and 20 deletions

View File

@@ -174,27 +174,39 @@ export class CustomerService {
break;
case 'wxwork':
console.log('【跳转企业微信客服】');
this.openWxworkService(false, config, options);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
case 'third':
console.log('【跳转第三方客服】');
this.openThirdService(config);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
case 'miniprogram':
console.log('【跳转第三方小程序客服】');
this.openThirdService(config);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
case 'niushop':
console.log('【跳转牛商客服】');
this.openNiushopService(niushop);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
case 'weapp':
console.log('【跳转微信官方客服】');
this.openWeappService(config, options);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
case 'aliapp':
console.log('【跳转支付宝客服】');
this.openAliappService(config);
// 修改强制跳转到AI客服页面
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
this.openDifyService();
break;
default:
console.error('【未知客服类型】', config.type);