Skip to content

Commit

Permalink
update: 修复Result默认值的问题 & 准备发布5.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizzercn committed Dec 12, 2018
1 parent a333023 commit cd9508d
Show file tree
Hide file tree
Showing 14 changed files with 16 additions and 17 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>cn.wizzer</groupId>
<artifactId>wk-parent</artifactId>
<version>5.1.1</version>
<version>5.1.2</version>
<modules>
<module>wk-framework</module>
<module>wk-app</module>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-parent</artifactId>
<groupId>cn.wizzer</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-model/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-service-cms/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-service-sys/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-service-wx/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-task/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-web-api/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-web-platform/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-app/wk-nb-web-vue/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-app</artifactId>
<groupId>cn.wizzer.app</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion wk-framework/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>wk-parent</artifactId>
<groupId>cn.wizzer</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<packaging>jar</packaging>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public Result addCode(int code) {

public Result addMsg(String msg) {
if (Strings.isBlank(msg) || Mvcs.getActionContext() == null || Mvcs.getActionContext().getRequest() == null || Mvcs.getMessage(Mvcs.getActionContext().getRequest(), msg) == null) {
this.msg = "";
this.msg = Strings.sNull(msg);
} else {
this.msg = Mvcs.getMessage(Mvcs.getActionContext().getRequest(), msg);
}
Expand Down Expand Up @@ -96,8 +96,7 @@ public Object getData() {
return data;
}

@Override
public String toString() {
public String toJson() {
return Json.toJson(this, JsonFormat.compact());
}

Expand Down
4 changes: 2 additions & 2 deletions wk-wiki/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
<parent>
<artifactId>wk-parent</artifactId>
<groupId>cn.wizzer</groupId>
<version>5.1.1</version>
<version>5.1.2</version>
</parent>
<artifactId>wk-wiki</artifactId>
<version>5.1.1</version>
<version>5.1.2</version>
<packaging>pom</packaging>
<name>wk-wiki</name>
<url>http://www.wizzer.cn</url>
Expand Down

0 comments on commit cd9508d

Please sign in to comment.