diff --git a/cs_chart.html b/cs_chart.html index 8f8d496..5a1835d 100644 --- a/cs_chart.html +++ b/cs_chart.html @@ -1412,7 +1412,7 @@ createApp({ setup() { // 基础URL配置 - const BASE_URL = 'http://backend.jjdev.cn/'; + const BASE_URL = 'https://backend.jjsos.cn/'; const searchParams = reactive({ province: '', @@ -1622,7 +1622,7 @@ const fetchFollowUpCount = async (driverTotal) => { try { - const res = await axios.get('https://test-chat.jjsos.cn/src/getChatDriverCount.php'); + const res = await axios.get('https://sos-chat.jjsos.cn/src/getChatDriverCount.php'); let count = null; if (Array.isArray(res.data) && res.data.length > 0 && res.data[0].driver_count !== undefined) { count = Number(res.data[0].driver_count); @@ -1644,7 +1644,7 @@ const fetchOnlineChatData = async () => { try { - const res = await axios.get('https://test-chat.jjsos.cn/src/getUnChatCount.php'); + const res = await axios.get('https://sos-chat.jjsos.cn/src/getUnChatCount.php'); if (res.data) { const onlineTask = taskList.value.find(task => task.type === 'online');