Commit a4671976 by s_guodong

update

parent f1ae9ead
...@@ -58,7 +58,7 @@ public class ResponseSet<T> { ...@@ -58,7 +58,7 @@ public class ResponseSet<T> {
this.retmsg = CODE_SUCCESS; this.retmsg = CODE_SUCCESS;
} else { } else {
this.retcod = CODE_FAILURE; this.retcod = CODE_FAILURE;
this.retmsg = CODE_FAILURE; this.retmsg = errMsg;
} }
if (MdaEnv.getContext() != null) { if (MdaEnv.getContext() != null) {
MdaEnv.getContext().visitValues(); MdaEnv.getContext().visitValues();
...@@ -109,7 +109,7 @@ public class ResponseSet<T> { ...@@ -109,7 +109,7 @@ public class ResponseSet<T> {
public static ResponseSet fail(String message) { public static ResponseSet fail(String message) {
ResponseSet responseSet = new ResponseSet(CODE_FAILURE, CODE_FAILURE); ResponseSet responseSet = new ResponseSet(CODE_FAILURE, message);
return responseSet; return responseSet;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment