|
|
@@ -28,6 +28,8 @@ public class SystemConfig {
|
|
|
public final static String LITEMALL_MALL_ADDRESS = "litemall_mall_address";
|
|
|
public final static String LITEMALL_MALL_PHONE = "litemall_mall_phone";
|
|
|
public final static String LITEMALL_MALL_QQ = "litemall_mall_qq";
|
|
|
+ public final static String LITEMALL_MALL_LONGITUDE = "litemall_mall_longitude";
|
|
|
+ public final static String LITEMALL_MALL_Latitude = "litemall_mall_latitude";
|
|
|
|
|
|
//所有的配置均保存在该 HashMap 中
|
|
|
private static Map<String, String> SYSTEM_CONFIGS = new HashMap<>();
|
|
|
@@ -112,6 +114,14 @@ public class SystemConfig {
|
|
|
return getConfig(LITEMALL_MALL_QQ);
|
|
|
}
|
|
|
|
|
|
+ public static String getMallLongitude() {
|
|
|
+ return getConfig(LITEMALL_MALL_LONGITUDE);
|
|
|
+ }
|
|
|
+
|
|
|
+ public static String getMallLatitude() {
|
|
|
+ return getConfig(LITEMALL_MALL_Latitude);
|
|
|
+ }
|
|
|
+
|
|
|
public static void setConfigs(Map<String, String> configs) {
|
|
|
SYSTEM_CONFIGS = configs;
|
|
|
}
|