From 3af8feb45b527662a21ce4f3bd91e7d6a2f9d54e Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期三, 11 六月 2025 14:19:39 +0800 Subject: [PATCH] refactor: 更新API和iframe的URL地址 --- common/config.js | 4 ++-- common/iframe.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/common/config.js b/common/config.js index 7952adf..9573365 100644 --- a/common/config.js +++ b/common/config.js @@ -7,8 +7,8 @@ } // 绾夸笂 const prod = { - VITE_APP_BASE: 'https://dmx.jinmingyuan.com:8999/lypyapi', - baseUrl: 'https://dmx.jinmingyuan.com:8999/lyapi', + VITE_APP_BASE: 'http://61.168.99.48:8055/lypyapi', + baseUrl: 'http://61.168.99.48:8055/lyapi', sftp: '', } diff --git a/common/iframe.js b/common/iframe.js index 479c646..1f1d8a9 100644 --- a/common/iframe.js +++ b/common/iframe.js @@ -11,7 +11,7 @@ newDiv.style.backgroundSize= '100% 100%' newDiv.style.cursor= 'pointer' var firstChild = document.body.firstChild; - const url = `https://dmx.jinmingyuan.com:8999/ly_app?userId=`+ userId + '&knowId=' + knowId + const url = `http://61.168.99.48:8055/ly_app?userId=`+ userId + '&knowId=' + knowId var iframe = '' document.body.insertBefore(newDiv, firstChild); newDiv.addEventListener('click', ()=> { @@ -30,7 +30,7 @@ iframe.style.border = '0' iframe.style.boxShadow = '0 0 10px #e4e4e4' iframe.style.borderRadius = '12px' - document.body.appendChild(iframe); + document.body.appendChild(iframe); } }) } -- Gitblit v1.9.1