From f1f6e12d69ac443b4ba23a01fa7e6a3047c8bf4a Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 19 May 2026 17:41:31 +0800
Subject: [PATCH] 1

---
 src/config/index.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/config/index.js b/src/config/index.js
index 1c7376c..e99fcd6 100644
--- a/src/config/index.js
+++ b/src/config/index.js
@@ -67,7 +67,20 @@
 
 // 公司logo
 export const LOGO = new URL('@/assets/imgs/logo.png', import.meta.url)
-export const customerServiceUrl = 'https://chat.onlinesupport.help/chat_online/index?channelId=5c7314eab72c4a72b2dc9b63c4502e69' // 客服外链链接
+
+
+export const customerServiceUrl = ()=>{
+    let str = ' https://qwg.axc01lb.cfd/chat/index?channelId=5c7314eab72c4a72b2dc9b63c4502e69'
+    let user = JSON.parse(localStorage.getItem('user'))
+    console.log(user);
+    let userName = '',pid = '';
+    if(user && user.userInfo){
+        userName = user.userInfo.username
+        pid = user.userInfo.usercode
+    }
+    str += `&userName=${userName}&pid=${pid}`
+    return str
+} // 客服外链链接
 
 export default {
     sliderOptions: {

--
Gitblit v1.9.3