diff --git a/epmet-commons/epmet-commons-openapi/pom.xml b/epmet-commons/epmet-commons-openapi/pom.xml new file mode 100644 index 0000000000..41093f03fa --- /dev/null +++ b/epmet-commons/epmet-commons-openapi/pom.xml @@ -0,0 +1,15 @@ + + + + epmet-commons + com.epmet + 2.0.0 + + 4.0.0 + + epmet-commons-openapi + + + diff --git a/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/HeaderFieldKeys.java b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/HeaderFieldKeys.java new file mode 100644 index 0000000000..9360c5f51f --- /dev/null +++ b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/HeaderFieldKeys.java @@ -0,0 +1,7 @@ +package com.epmet.openapi; + +public interface HeaderFieldKeys { + + String APP_ID = "AppId"; + +} diff --git a/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestBodyFieldKeys.java b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestBodyFieldKeys.java new file mode 100644 index 0000000000..3ce4555283 --- /dev/null +++ b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestBodyFieldKeys.java @@ -0,0 +1,10 @@ +package com.epmet.openapi; + +/** + * 请求体字段key + */ +public interface RequestBodyFieldKeys { + + String APP_ID = "appId"; + +} diff --git a/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestParamKeys.java b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestParamKeys.java new file mode 100644 index 0000000000..a503713682 --- /dev/null +++ b/epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestParamKeys.java @@ -0,0 +1,11 @@ +package com.epmet.openapi; + +/** + * url请求参数key + */ +public class RequestParamKeys { + + public static String APP_ID = "app_id"; + public static String AUTH_TYPE = "auth_type"; + +} diff --git a/epmet-commons/pom.xml b/epmet-commons/pom.xml index b495dd438e..9e0d315827 100644 --- a/epmet-commons/pom.xml +++ b/epmet-commons/pom.xml @@ -26,6 +26,7 @@ epmet-commons-thirdplat epmet-commons-rocketmq epmet-commons-security - + epmet-commons-openapi + diff --git a/epmet-gateway/pom.xml b/epmet-gateway/pom.xml index 560063fe23..d901d0940e 100644 --- a/epmet-gateway/pom.xml +++ b/epmet-gateway/pom.xml @@ -70,6 +70,12 @@ common-service-client 2.0.0 + + com.epmet + epmet-commons-openapi + 2.0.0 + compile +