chore:后台点击什么页面就显示什么
This commit is contained in:
@@ -174,39 +174,27 @@ export class CustomerService {
|
|||||||
break;
|
break;
|
||||||
case 'wxwork':
|
case 'wxwork':
|
||||||
console.log('【跳转企业微信客服】');
|
console.log('【跳转企业微信客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openWxworkService(false, config, options);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
case 'third':
|
case 'third':
|
||||||
console.log('【跳转第三方客服】');
|
console.log('【跳转第三方客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openThirdService(config);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
case 'miniprogram':
|
case 'miniprogram':
|
||||||
console.log('【跳转第三方小程序客服】');
|
console.log('【跳转第三方小程序客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openThirdService(config);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
case 'niushop':
|
case 'niushop':
|
||||||
console.log('【跳转牛商客服】');
|
console.log('【跳转牛商客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openNiushopService(niushop);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
case 'weapp':
|
case 'weapp':
|
||||||
console.log('【跳转微信官方客服】');
|
console.log('【跳转微信官方客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openWeappService(config, options);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
case 'aliapp':
|
case 'aliapp':
|
||||||
console.log('【跳转支付宝客服】');
|
console.log('【跳转支付宝客服】');
|
||||||
// 修改:强制跳转到AI客服页面
|
this.openAliappService(config);
|
||||||
console.log('【强制跳转 AI 客服】目标路径: /pages_tool/ai-chat/index');
|
|
||||||
this.openDifyService();
|
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
console.error('【未知客服类型】', config.type);
|
console.error('【未知客服类型】', config.type);
|
||||||
|
|||||||
Reference in New Issue
Block a user