-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
叶云轩.MacBookPro
committed
Dec 15, 2019
1 parent
8257130
commit ddabbc8
Showing
6 changed files
with
126 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,38 +7,10 @@ | |
|
||
<groupId>org.yyx.xf</groupId> | ||
<artifactId>xf-util</artifactId> | ||
<version>1.0.10-RELEASE</version> | ||
<version>1.0.11-RELEASE</version> | ||
<name>xf-util</name> | ||
<description>xf的util单独包</description> | ||
<!--region Maven私服--> | ||
<!-- <repositories>--> | ||
<!-- <repository>--> | ||
<!-- <id>LenovoImageNexus</id>--> | ||
<!-- <name>Lenovo-Image</name>--> | ||
<!-- <url>http://124.202.140.137:9993/repository/lenovoimage-release/</url>--> | ||
<!-- <releases>--> | ||
<!-- <enabled>true</enabled>--> | ||
<!-- </releases>--> | ||
<!-- <snapshots>--> | ||
<!-- <enabled>true</enabled>--> | ||
<!-- </snapshots>--> | ||
<!-- </repository>--> | ||
<!-- </repositories>--> | ||
<!-- region 用于jar发布的配置 --> | ||
<!-- <distributionManagement>--> | ||
<!-- <snapshotRepository>--> | ||
<!-- <id>lenovoimage-snapshot</id>--> | ||
<!-- <name>LenovoImage Nexus Snapshot</name>--> | ||
<!-- <url>http://124.202.140.137:9993/repository/lenovoimage-snapshot/</url>--> | ||
<!-- </snapshotRepository>--> | ||
<!-- <repository>--> | ||
<!-- <id>lenovoimage-release</id>--> | ||
<!-- <name>LenovoImage Nexus Release</name>--> | ||
<!-- <url>http://124.202.140.137:9993/repository/lenovoimage-release/</url>--> | ||
<!-- </repository>--> | ||
<!-- </distributionManagement>--> | ||
<!-- endregion --> | ||
<!--endregion--> | ||
|
||
<properties> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
<poi>3.17</poi> | ||
|
@@ -56,6 +28,43 @@ | |
<junit>4.12</junit> | ||
<lombok>1.16.20</lombok> | ||
</properties> | ||
|
||
<repositories> | ||
<repository> | ||
<id>cjwy</id> | ||
<name>cjwy</name> | ||
<url>http://maven.frps.vanrentong.com/repository/cjwy-public/</url> | ||
<releases> | ||
<enabled>true</enabled> | ||
</releases> | ||
<snapshots> | ||
<enabled>true</enabled> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
|
||
<developers> | ||
<developer> | ||
<id>yyx</id> | ||
<email>[email protected]</email> | ||
<name>yyx</name> | ||
<url>http://www.happyqing.com</url> | ||
</developer> | ||
</developers> | ||
|
||
<distributionManagement> | ||
<repository> | ||
<id>release</id> | ||
<name>cjwy-releases</name> | ||
<url>http://maven.frps.vanrentong.com/repository/cjwy-releases/</url> | ||
</repository> | ||
<snapshotRepository> | ||
<id>snapshots</id> | ||
<name>cjwy-snapshots</name> | ||
<url>http://maven.frps.vanrentong.com/repository/cjwy-snapshots/</url> | ||
</snapshotRepository> | ||
</distributionManagement> | ||
|
||
<build> | ||
<plugins> | ||
<plugin> | ||
|
@@ -79,6 +88,7 @@ | |
</resource> | ||
</resources> | ||
</build> | ||
|
||
<dependencies> | ||
<!-- region spring boot starter web --> | ||
<dependency> | ||
|
51 changes: 0 additions & 51 deletions
51
src/main/java/org/yyx/xf/tool/web/domain/constant/ResponseConstant.java
This file was deleted.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
src/main/java/org/yyx/xf/tool/web/domain/constant/ResponseEnum.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
package org.yyx.xf.tool.web.domain.constant; | ||
|
||
import lombok.Getter; | ||
|
||
/** | ||
* 响应常量 | ||
* <p> | ||
* | ||
* @author 叶云轩 at [email protected] | ||
* @date 2018/10/14-21:45 | ||
*/ | ||
public enum ResponseEnum { | ||
|
||
/** | ||
* 请求成功时的响应码 | ||
*/ | ||
success("000000000", "请求成功", "request success"), | ||
/** | ||
* 请求失败时的响应码 | ||
*/ | ||
error("999999999", "服务器错误", "request failed"); | ||
/** | ||
* 响应码 | ||
*/ | ||
@Getter | ||
private String code; | ||
/** | ||
* 响应信息 | ||
*/ | ||
@Getter | ||
private String msg; | ||
/** | ||
* 响应信息 | ||
*/ | ||
@Getter | ||
private String des; | ||
|
||
/** | ||
* 枚举类构造 | ||
* | ||
* @param code 响应码 | ||
* @param msg 响应信息 | ||
* @param des 响应信息 | ||
*/ | ||
ResponseEnum(String code, String msg, String des) { | ||
this.code = code; | ||
this.msg = msg; | ||
this.des = des; | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters