update
1.修改健康银行访问链接,测试环境截取掉:+端口
This commit is contained in:
@@ -45,6 +45,7 @@
|
|||||||
import { getToken } from '/@/utils/auth';
|
import { getToken } from '/@/utils/auth';
|
||||||
import { useLoading } from '/@/components/Loading';
|
import { useLoading } from '/@/components/Loading';
|
||||||
import { useGlobSetting } from '/@/hooks/setting';
|
import { useGlobSetting } from '/@/hooks/setting';
|
||||||
|
import qs from 'qs';
|
||||||
const { viteOutUrl, apiUrl } = useGlobSetting();
|
const { viteOutUrl, apiUrl } = useGlobSetting();
|
||||||
|
|
||||||
export default defineComponent({
|
export default defineComponent({
|
||||||
@@ -137,11 +138,11 @@
|
|||||||
.get({
|
.get({
|
||||||
url: '/health-system/api/sys/encryptInfo',
|
url: '/health-system/api/sys/encryptInfo',
|
||||||
params: {
|
params: {
|
||||||
str: {
|
str: qs.stringify({
|
||||||
scheme: apiUrl.split('://')[0],
|
scheme: apiUrl.split('://')[0],
|
||||||
host: apiUrl.split('://')[1],
|
host: apiUrl.split('://')[1].substring(0, apiUrl.split('://')[1].indexOf(':')),
|
||||||
tokenF: getToken(),
|
tokenF: getToken(),
|
||||||
},
|
}),
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user