客服聊天系统对接及功能添加

This commit is contained in:
2025-04-30 15:22:35 +08:00
parent 13add51a20
commit 2e56d71b0c
10 changed files with 1648 additions and 701 deletions

View File

@@ -124,7 +124,7 @@ const childrenRoutes = [
component: () => import('../views/customerService/index.vue'),
meta: {title: '在线客服',
description:i18n.t(`seo.apiFile`),
allAuthority:[`all`],
allAuthority:[`customer_service`],//客服权限
// keywords: 'M2Pool 矿池,API 文档,认证 token,接口调用,API file,authentication token,Interface call'
keywords:{
en: 'API file,authentication token,Interface call',
@@ -689,7 +689,10 @@ router.beforeEach((to, from, next) => {
message:i18n.t(`mining.jurisdiction`),
type: 'error'
});
next({ path: `/${lang}` }) // 添加这行,重定向到首页
}
}else{