遗漏的提交

master
kouxian 2017-10-26 11:49:52 +08:00
parent 84d53c3420
commit 987ddded50
1 changed files with 45 additions and 0 deletions

View File

@ -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;
}
}