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',