Browse Source

遗漏的提交

master
kouxian 7 years ago
parent
commit
987ddded50
  1. 45
      src/main/java/org/nutz/web/ajax/AjaxReturn.java

45
src/main/java/org/nutz/web/ajax/AjaxReturn.java

@ -0,0 +1,45 @@
package org.nutz.web.ajax;
public class AjaxReturn {
boolean ok;
String errCode;
String msg;
Object data;
public boolean isOk() {
return ok;
}
public String getErrCode() {
return errCode;
}
public String getMsg() {
return msg;
}
public Object getData() {
return data;
}
public AjaxReturn setOk(boolean ok) {
this.ok = ok;
return this;
}
public AjaxReturn setErrCode(String errCode) {
this.errCode = errCode;
return this;
}
public AjaxReturn setMsg(String msg) {
this.msg = msg;
return this;
}
public AjaxReturn setData(Object data) {
this.data = data;
return this;
}
}
Loading…
Cancel
Save