Commit 47fc2d7118e49f62d7244409b3535d3a3066c0d7
1 parent
ab4977cb
Exists in
master
feat:健康地址调用
Showing
1 changed file
with
6 additions
and
0 deletions
Show diff stats
src/App.vue
@@ -42,6 +42,12 @@ export default { | @@ -42,6 +42,12 @@ export default { | ||
42 | console.log(error) | 42 | console.log(error) |
43 | }) | 43 | }) |
44 | } | 44 | } |
45 | + // 健康地址调用 | ||
46 | + this.yxAxios.get(`https://proxy.shunzhi.net/achieve/healthCheck`).then((res) => { | ||
47 | + console.log('健康地址:', JSON.stringify(res.data)) | ||
48 | + const bodyElement = document.getElementsByTagName('body')[0] | ||
49 | + bodyElement.append(JSON.stringify(res.data)) | ||
50 | + }) | ||
45 | }, | 51 | }, |
46 | methods: { | 52 | methods: { |
47 | setElder(e) { | 53 | setElder(e) { |