添加pre-new环境

This commit is contained in:
xiajiafu 2022-09-01 21:54:35 +08:00
parent a96a3097a1
commit b33fe92585

View File

@ -6,6 +6,8 @@ import lombok.Getter;
@Getter
@AllArgsConstructor
public enum EnvEnum {
/*环境枚举*/
LOCAL("local", "http://localhost:10099/webApi/oauth/apisix/authentication"),
// dev
DEV("dev", "http://dev-app.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
@ -17,9 +19,11 @@ public enum EnvEnum {
UAT("UAT", "http://uat-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
//PRE
PRE("PRE", "http://pre-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
//PRE_NEW
PRE_NEW("PRE_NEW", "http://pre-new-api.axzo.cn/pudge/webApi/oauth/apisix/authentication"),
;
private String key;
private String value;
private final String key;
private final String value;
public static String getValueByKey(String key) {
try {