const env = process.env.NODE_ENV || 'development' const config = { development: { baseUrl: 'http://yiji-qhdzhongyiyuan' }, production: { baseUrl: 'http://192.168.80.76' } } export const getBaseUrl = () => { return config[env]?.baseUrl || config.development.baseUrl } export default { getBaseUrl }