1
This commit is contained in:
@@ -8,9 +8,17 @@ class Config {
|
||||
///获取接口地址
|
||||
static String baseUrl() {
|
||||
if (getEnv() == 'dev') {
|
||||
return 'https://mindapp.test.tuzuu.com/api';
|
||||
return 'https://xueguang.test.tuzuu.com/api';
|
||||
} else {
|
||||
return 'https://mindapp.cells.org.cn/api';
|
||||
return 'https://xueguang.test.tuzuu.com/api';
|
||||
}
|
||||
}
|
||||
|
||||
/// 获取websocket地址
|
||||
static String wsUrl() {
|
||||
return "wss://xueguang.test.tuzuu.com/ws";
|
||||
}
|
||||
|
||||
///声网APPid
|
||||
static String get swAppId => "011c2fd2e1854511a80c1aebded4eee7";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user