Files
im-system/im-uniapp/common/config.js
2023-09-27 18:04:38 +08:00

12 lines
350 B
JavaScript

export default class config{
static getBaseApiUrl(){
return process.env.NODE_ENV === 'development' ? 'http://192.168.1.117:8989' :'http://192.168.1.117:8989';
}
static getImApiUrl(){
return process.env.NODE_ENV === 'development' ? 'http://192.168.1.117:28000/v1' :'http://192.168.1.117:28000/v1';
}
static getImAppId(){
return 10000;
}
}