1.修改健康银行访问链接,测试环境截取掉:+端口
This commit is contained in:
2026-03-24 10:02:25 +08:00
parent 6ca7141c5d
commit 388c6bdf4a
+4 -3
View File
@@ -45,6 +45,7 @@
import { getToken } from '/@/utils/auth';
import { useLoading } from '/@/components/Loading';
import { useGlobSetting } from '/@/hooks/setting';
import qs from 'qs';
const { viteOutUrl, apiUrl } = useGlobSetting();
export default defineComponent({
@@ -137,11 +138,11 @@
.get({
url: '/health-system/api/sys/encryptInfo',
params: {
str: {
str: qs.stringify({
scheme: apiUrl.split('://')[0],
host: apiUrl.split('://')[1],
host: apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':')),
tokenF: getToken(),
},
}),
},
})
.then((res) => {