From 677afedf5d6be05933f92783e166a935a37f0dda Mon Sep 17 00:00:00 2001 From: liangzhou <594755172@qq.com> Date: Tue, 29 Oct 2024 09:45:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=9B=B4=E6=96=B0=EF=BC=9A?= =?UTF-8?q?=201.=E5=A2=9E=E5=8A=A0=E5=9F=9F=E5=90=8D=E7=9B=B8=E5=85=B3?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/request.js | 4 ++-- src/views/login.vue | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/http/request.js b/src/http/request.js index 140e628..cc5035b 100644 --- a/src/http/request.js +++ b/src/http/request.js @@ -1,13 +1,13 @@ import axios from 'axios' const request = axios.create({ - baseURL: 'http://10.90.36.70:443/wmsServer/wms', + baseURL: 'http://localhost:12315/wms', timeout: 5000 }) // axios.defaults.baseURL = 'http://10.90.36.70:443/wmsServer/wms' // axios.defaults.baseURL = 'http://localhost:12315/wms' -// axios.defaults.baseURL = 'http://192.168.8.93:12315/wms' +// axios.defaults.baseURL = 'https://csclasrs.ecorp.cat.com/wmsServer/wms' // // request 请求器 // // 可以自请求发送前对请求做一些处理 diff --git a/src/views/login.vue b/src/views/login.vue index 6f41224..24972ec 100644 --- a/src/views/login.vue +++ b/src/views/login.vue @@ -57,7 +57,7 @@ const oauthConstants = { code_challenge: challenge, code_challenge_method: 'S256', // response_mode: "form_post", - redirect_uri: 'https://csclasrs.ecorp.cat.com' + redirect_uri: 'https://csclasrs.ecorp.cat.com/wms' } @@ -107,7 +107,7 @@ onMounted(() => { client_id: '609f8296-74ab-441e-904f-3a8508030511', // scope: 'openid', code: router.currentRoute.value.query.code, - redirect_uri: 'https://csclasrs.ecorp.cat.com', + redirect_uri: 'https://csclasrs.ecorp.cat.com/wms', grant_type: 'authorization_code', // client_secret: 'o6h8Q~iLegnIBG.GzJngXk.03FYdBJzIoCtTtcwj', // response_type: 'id_token',