From 47fc2d7118e49f62d7244409b3535d3a3066c0d7 Mon Sep 17 00:00:00 2001 From: 夏洋涛 <1027869635@qq.com> Date: Tue, 21 Feb 2023 16:26:50 +0800 Subject: [PATCH] feat:健康地址调用 --- src/App.vue | 6 ++++++ 1 file changed, 6 insertions(+), 0 deletions(-) diff --git a/src/App.vue b/src/App.vue index 3f88438..ebf863b 100644 --- a/src/App.vue +++ b/src/App.vue @@ -42,6 +42,12 @@ export default { console.log(error) }) } + // 健康地址调用 + this.yxAxios.get(`https://proxy.shunzhi.net/achieve/healthCheck`).then((res) => { + console.log('健康地址:', JSON.stringify(res.data)) + const bodyElement = document.getElementsByTagName('body')[0] + bodyElement.append(JSON.stringify(res.data)) + }) }, methods: { setElder(e) { -- libgit2 0.21.0