ProjectEnvironment.java
525 Bytes
package com.ui.project;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
public class ProjectEnvironment {
private static Map<String,String> map = new HashMap<>();
static{
map.put("aws", "");
map.put("qcloud","");
map.put("qcloud_gray","");
map.put("test","http://192.168.102.220:8080/web/");
//map.put("dev");
}
public static Set<String> getEnviroments(){
return map.keySet();
}
public static String getUrl(String envi){
return map.get(envi);
}
}