diff --git a/src/api/gameswitch.js b/src/api/gameswitch.js index 700b61e..bdbff6d 100644 --- a/src/api/gameswitch.js +++ b/src/api/gameswitch.js @@ -30,3 +30,10 @@ export function updatGameSwitch(data) { // data // }) // } + +export function refreshGameSwitch() { + return request({ + url: '/game_switch/refresh', + method: 'get' + }) +} diff --git a/src/views/gameswitch/index.vue b/src/views/gameswitch/index.vue index 25dfc5f..403b59d 100644 --- a/src/views/gameswitch/index.vue +++ b/src/views/gameswitch/index.vue @@ -1,10 +1,10 @@