From 9d2851fd93323581ea382d5191e2dbb90642b963 Mon Sep 17 00:00:00 2001 From: 石广澎 <shiguangpeng@163.com> Date: 星期三, 18 六月 2025 09:11:26 +0800 Subject: [PATCH] refactor(config): 更新线上环境 API 地址 --- common/iframe.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/iframe.js b/common/iframe.js index 1f1d8a9..7fabd4e 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 = `http://61.168.99.48:8055/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', ()=> { @@ -20,7 +20,7 @@ iframe = '' } else { iframe = document.createElement("iframe"); - iframe.src = url || window.location.origin + '/ly_app?userId=' + userId + '&knowId=' + knowId; + iframe.src = url || window.location.origin + '/ly_app/?userId=' + userId + '&knowId=' + knowId; iframe.style.width="430px" iframe.style.height="90%" iframe.style.position = 'fixed' -- Gitblit v1.9.1