|
@@ -78,7 +78,7 @@ public class Config {
|
|
|
initSMALL_STATION_URL();
|
|
initSMALL_STATION_URL();
|
|
|
}
|
|
}
|
|
|
public static void initSMALL_STATION_URL(){
|
|
public static void initSMALL_STATION_URL(){
|
|
|
- SMALL_STATION_URL = TextUtils.equals(SheepApp.getInstance().getConnectAddress().getName(), "sheep") ? SMALL_STATION_URL_SHEEP : SMALL_STATION_URL_TEST;
|
|
|
|
|
|
|
+ SMALL_STATION_URL = TextUtils.equals(SheepApp.getInstance().getConnectAddress().name(), "sheep") ? SMALL_STATION_URL_SHEEP : SMALL_STATION_URL_TEST;
|
|
|
}
|
|
}
|
|
|
public static String getUrlByPath(String path, String...query){
|
|
public static String getUrlByPath(String path, String...query){
|
|
|
String url = SMALL_STATION_URL + path;
|
|
String url = SMALL_STATION_URL + path;
|