|
@@ -2,13 +2,13 @@
|
|
|
|
|
|
class ApiConstants {
|
|
class ApiConstants {
|
|
//当前服务器环境
|
|
//当前服务器环境
|
|
- static const isServerRelease = false;
|
|
|
|
|
|
+ static const isServerRelease = true;
|
|
|
|
|
|
//越南的域名
|
|
//越南的域名
|
|
- static const baseUrl = isServerRelease ? 'http://vietnam.casualabour.com' : 'http://vietnam-dev.casualabour.com';
|
|
|
|
|
|
+ static const baseUrl = isServerRelease ? 'https://vietnam.casualabour.com' : 'http://vietnam-dev.casualabour.com';
|
|
|
|
|
|
//新加坡的域名
|
|
//新加坡的域名
|
|
- static const sgBaseUrl = isServerRelease ? 'http://singapore.casualabour.com' : 'http://singapore-dev.casualabour.com';
|
|
|
|
|
|
+ static const sgBaseUrl = isServerRelease ? 'https://singapore.casualabour.com' : 'http://singapore-dev.casualabour.com';
|
|
|
|
|
|
|
|
|
|
// =========================== 用户相关 ↓=========================================
|
|
// =========================== 用户相关 ↓=========================================
|