Files
im-system/im-uniapp/common/config.js
2023-10-16 23:12:59 +08:00

12 lines
344 B
JavaScript

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