修改配置
This commit is contained in:
parent
1caa5c082a
commit
1fbbb1ad65
|
|
@ -61,11 +61,30 @@ public class IpAndPathConfig {
|
|||
public static String getFaceUrl(){
|
||||
return getUrl();
|
||||
}
|
||||
// public static String getUnifiedPlatUrl(){
|
||||
// return getUrl();
|
||||
// }
|
||||
// public static String getCertificateUrl(){
|
||||
// return getUrl();
|
||||
// }
|
||||
|
||||
public static String getUnifiedPlatUrl(){
|
||||
return getUrl();
|
||||
if(environment.contains("prod")){
|
||||
return unifiedPlatProdUrl;
|
||||
}else if(environment.contains("test")){
|
||||
return unifiedPlatTestUrl;
|
||||
}else{
|
||||
return unifiedPlatDevUrl;
|
||||
}
|
||||
}
|
||||
public static String getCertificateUrl(){
|
||||
return getUrl();
|
||||
if(environment.contains("prod")){
|
||||
return certificateProdUrl;
|
||||
}else if(environment.contains("test")){
|
||||
return certificateTestUrl;
|
||||
}else{
|
||||
return certificateDevUrl;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue