FenXiNspUniapp/common/service/config.service.js

19 lines
517 B
JavaScript

let BASE_URL = ''
if (process.env.NODE_ENV == 'development') {
BASE_URL = 'https://fxnsp.sxcooh.com/lh-api' // 生产环境
// BASE_URL = 'https://zy.sxzooh.com/zh-api' // 开发环境
} else {
BASE_URL = 'https://fxnsp.sxcooh.com/lh-api' // 生产环境
// BASE_URL = 'https://zy.sxzooh.com/zh-api' // 开发环境
}
let staticDomainURL = 'https://fxnsp.zgzhny.com/lh-api'+ '/sys/common/static';
const configService = {
apiUrl: BASE_URL,
staticDomainURL: staticDomainURL
};
export default configService