1.修改跳转安眼逻辑
This commit is contained in:
2025-10-14 14:45:13 +08:00
parent 98ff86f89c
commit 17f9478233
4 changed files with 44 additions and 5 deletions
+12 -1
View File
@@ -109,7 +109,18 @@
queryAnYanTokenApi()
.then((res: any) => {
if (res.code === 200) {
window.open('http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=' + res?.result, '_blank');
// res.result = {
// scope: 'default',
// expires_in: 3348,
// token_type: 'bearer',
// access_token: '2a643081-b661-4f44-bc36-6bc91addde3a',
// refresh_token: 'e0a91714-59aa-4311-bb6c-ca3a48f20dd1',
// satoken: '9a493672-36e0-4539-9a74-650e95cefc87',
// };
window.open(
`http://aygc.pc.iosp.ydpt.tech/monitor/health?tokens=${res?.result?.access_token}&expires_in=${res?.result?.expires_in}&refresh_token=${res?.result?.refresh_token}&satoken=${res?.result?.satoken}`,
'_blank'
);
} else {
message.error(res?.message);
}