diff --git a/src/api/login.js b/src/api/login.js index 3c5bcfe..aab82ce 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -69,3 +69,10 @@ export function getCodeSms() { timeout: 20000 }) } + +export function authTenantList() { + return request({ + url: '/auth/tenant/list', + method: 'get' + }) +} diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 1c192d5..c7864cb 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -7,6 +7,19 @@
diff --git a/vue.config.js b/vue.config.js index 5d3da61..f6b04a1 100644 --- a/vue.config.js +++ b/vue.config.js @@ -35,8 +35,8 @@ module.exports = { proxy: { // detail: https://cli.vuejs.org/config/#devserver-proxy [process.env.VUE_APP_BASE_API]: { - target: `http://localhost:8080`, - // target: `http://124.222.254.188:9779/prod-api`, + // target: `http://localhost:8080`, + target: `http://124.222.254.188:8090`, changeOrigin: true, pathRewrite: { ['^' + process.env.VUE_APP_BASE_API]: ''