mirror of
https://gitee.com/jzsw-it/yexuejc-base.git
synced 2025-06-06 13:54:03 +08:00
1.1.3
修改正则RegexUtils.java 修改正则StrUtil.java->扩展genUUID() DataTimeUtil.java ->扩展
This commit is contained in:
parent
0c12801047
commit
25a534d307
@ -1,8 +1,15 @@
|
||||
yexuejc-base 更新记录
|
||||
------------------
|
||||
|
||||
#### version :1.1.4
|
||||
**time:2018-6-14 22:27:59** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1.统一编码:UTF-8
|
||||
|
||||
#
|
||||
#### version :1.1.3
|
||||
**time:** <br/>
|
||||
**time:2018年6月2日12:16:58** <br/>
|
||||
**branch:** master <br/>
|
||||
**update:** <br/>
|
||||
>1.修改正则RegexUtils.java
|
||||
|
3
pom.xml
3
pom.xml
@ -6,7 +6,7 @@
|
||||
|
||||
<groupId>com.yexuejc.base</groupId>
|
||||
<artifactId>yexuejc-base</artifactId>
|
||||
<version>1.1.3</version>
|
||||
<version>1.1.4</version>
|
||||
|
||||
<name>${project.artifactId}</name>
|
||||
|
||||
@ -61,6 +61,7 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
<configuration>
|
||||
<encoding>UTF-8</encoding>
|
||||
<source>${java.version}</source>
|
||||
<target>${java.version}</target>
|
||||
</configuration>
|
||||
|
@ -81,6 +81,10 @@ public class Resps<T> implements Serializable {
|
||||
return this;
|
||||
}
|
||||
|
||||
public static Resps success(String[] msg) {
|
||||
return new Resps(RespsConsts.CODE_SUCCESS, msg);
|
||||
}
|
||||
|
||||
public static Resps success(String msg) {
|
||||
return new Resps(RespsConsts.CODE_SUCCESS, msg);
|
||||
}
|
||||
@ -93,8 +97,8 @@ public class Resps<T> implements Serializable {
|
||||
return new Resps(RespsConsts.CODE_ERROR, msg);
|
||||
}
|
||||
|
||||
public static Resps fail(String msg) {
|
||||
return new Resps(RespsConsts.CODE_FAIL, msg);
|
||||
public static Resps error(String[] msg) {
|
||||
return new Resps(RespsConsts.CODE_ERROR, msg);
|
||||
}
|
||||
|
||||
public static Resps error(String code, String msg) {
|
||||
@ -105,6 +109,14 @@ public class Resps<T> implements Serializable {
|
||||
return new Resps(code, msg);
|
||||
}
|
||||
|
||||
public static Resps fail(String msg) {
|
||||
return new Resps(RespsConsts.CODE_FAIL, msg);
|
||||
}
|
||||
|
||||
public static Resps fail(String[] msg) {
|
||||
return new Resps(RespsConsts.CODE_FAIL, msg);
|
||||
}
|
||||
|
||||
public static Resps fail(String code, String msg) {
|
||||
return new Resps(code, msg);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user