This commit is contained in:
2026-03-24 10:14:01 +08:00
parent 388c6bdf4a
commit 8cf3ee079b
+4 -4
View File
@@ -131,16 +131,16 @@
async function handleMenuClick({ item, key }: { item: any; key: string; keyPath: string[] }) { async function handleMenuClick({ item, key }: { item: any; key: string; keyPath: string[] }) {
if (item.title === '健康银行') { if (item.title === '健康银行') {
open(); open();
const url = viteOutUrl;
console.log(url);
console.log(useGlobSetting());
await defHttp await defHttp
.get({ .get({
url: '/health-system/api/sys/encryptInfo', url: '/health-system/api/sys/encryptInfo',
params: { params: {
str: qs.stringify({ str: qs.stringify({
scheme: apiUrl.split('://')[0], scheme: apiUrl.split('://')[0],
host: apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':')), host:
apiUrl.split('://')[1].indexOf(':') !== -1
? apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':'))
: apiUrl.split('://')[1],
tokenF: getToken(), tokenF: getToken(),
}), }),
}, },