Commit 494a2f6b by 王立鹏

Merge remote-tracking branch 'origin/feature/17679-企业文化平台搭建'

parents a6a428fd 0a8b3a2e
......@@ -10,14 +10,14 @@ interface IConfig {
export const app_config: { [key: string]: IConfig } = {
// 正式环境
production: {
baseUrl: 'http://oa.yswg.com.cn:8082',
baseUrl: 'https://culture.yswg.com.cn:8089',
loginType: 3,
wxRedirect: 'oa3.yswg.com.cn',
},
// 测试环境
// 测试环境 暂时无测试环境部署
test: {
baseUrl: 'http://47.119.149.50:8082',
baseUrl: 'http://192.168.2.55:8089', // 首拥本地
loginType: 1,
wxRedirect: 'oatest.yswg.com.cn:3457',
},
......
......@@ -2,7 +2,8 @@ import { app_config } from '@/config'
import Axois from './axios'
// 'http://192.168.2.168:8089'
const baseUrl = app_config[import.meta.env.MODE]?.baseUrl
console.log('baseUrl', baseUrl)
export default new Axois({
baseURL: 'http://192.168.2.168:8089',
baseURL: baseUrl,
timeout: 1000 * 60,
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment