4 changed files with 45 additions and 0 deletions
@ -0,0 +1,17 @@ |
|||||
|
<?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"> |
||||
|
|
||||
|
<version>2.0.0</version> |
||||
|
<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> |
@ -0,0 +1,7 @@ |
|||||
|
package com.epmet.commons.openapi.constants; |
||||
|
|
||||
|
public interface HeaderFieldKeys { |
||||
|
|
||||
|
String APP_ID = "AppId"; |
||||
|
|
||||
|
} |
@ -0,0 +1,10 @@ |
|||||
|
package com.epmet.commons.openapi.constants; |
||||
|
|
||||
|
/** |
||||
|
* 请求体字段key |
||||
|
*/ |
||||
|
public interface RequestBodyFieldKeys { |
||||
|
|
||||
|
String APP_ID = "appId"; |
||||
|
|
||||
|
} |
@ -0,0 +1,11 @@ |
|||||
|
package com.epmet.commons.openapi.constants; |
||||
|
|
||||
|
/** |
||||
|
* url请求参数key |
||||
|
*/ |
||||
|
public class RequestParamKeys { |
||||
|
|
||||
|
public static String APP_ID = "app_id"; |
||||
|
public static String AUTH_TYPE = "auth_type"; |
||||
|
|
||||
|
} |
Loading…
Reference in new issue