石广澎
2025-06-11 3af8feb45b527662a21ce4f3bd91e7d6a2f9d54e
refactor: 更新API和iframe的URL地址

- 将API基础URL从https://dmx.jinmingyuan.com:8999/lypyapi修改为http://61.168.99.48:8055/lypyapi
- 将iframe的URL从https://dmx.jinmingyuan.com:8999/ly_app修改为http://61.168.99.48:8055/ly_app
2个文件已修改
8 ■■■■ 已修改文件
common/config.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
common/iframe.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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: '',
}
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);
        }
    })
}