Browse Source

Merge branch 'dev_openapi' of http://git.elinkit.com.cn:7070/r/epmet-cloud into dev_openapi

 Conflicts:
	epmet-commons/epmet-commons-openapi/pom.xml
	epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/HeaderFieldKeys.java
	epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestBodyFieldKeys.java
	epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestParamKeys.java
dev
wxz 4 years ago
parent
commit
03eb70fc4e
  1. 15
      epmet-commons/epmet-commons-openapi/pom.xml
  2. 7
      epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/HeaderFieldKeys.java
  3. 10
      epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestBodyFieldKeys.java
  4. 11
      epmet-commons/epmet-commons-openapi/src/main/java/com/epmet/openapi/RequestParamKeys.java
  5. 3
      epmet-commons/pom.xml
  6. 6
      epmet-gateway/pom.xml

15
epmet-commons/epmet-commons-openapi/pom.xml

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>epmet-commons</artifactId>
<groupId>com.epmet</groupId>
<version>2.0.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>epmet-commons-openapi</artifactId>
</project>

7
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";
}

10
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";
}

11
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";
}

3
epmet-commons/pom.xml

@ -26,6 +26,7 @@
<module>epmet-commons-thirdplat</module>
<module>epmet-commons-rocketmq</module>
<module>epmet-commons-security</module>
</modules>
<module>epmet-commons-openapi</module>
</modules>
</project>

6
epmet-gateway/pom.xml

@ -70,6 +70,12 @@
<artifactId>common-service-client</artifactId>
<version>2.0.0</version>
</dependency>
<dependency>
<groupId>com.epmet</groupId>
<artifactId>epmet-commons-openapi</artifactId>
<version>2.0.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>

Loading…
Cancel
Save