代码更新:

1.增加域名相关配置
This commit is contained in:
梁州 2024-10-29 09:45:27 +08:00
parent 9c9bdda7df
commit 677afedf5d
2 changed files with 4 additions and 4 deletions

View File

@ -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 请求器
// // 可以自请求发送前对请求做一些处理

View File

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