@@ -0,0 +1,1181 @@
+package com.nicefish.common.constant;%0A%0A/**%0A * Created by sunye on 16/1/20.%0A */%0A%0Apublic class Result %7B%0A%0A    private String  msg;%0A    private boolean success;%0A    private int  code;%0A    private Object  data;%0A%0A%0A    public Result()%7B%7D%0A    public Result(boolean success,String data,String msg,int code)%7B%0A        this.success=success;%0A        this.data=data;%0A        this.msg=msg;%0A        this.code=code;%0A    %7D%0A    public Result(boolean success,String data)%7B%0A        this.success=success;%0A        this.data=data;%0A    %7D%0A    public Result(boolean success,String msg,int code)%7B%0A        this.success=success;%0A        this.msg=msg;%0A        this.code=code;%0A    %7D%0A%0A%0A%0A    public String getMsg() %7B%0A        return msg;%0A    %7D%0A%0A    public void setMsg(String msg) %7B%0A        this.msg = msg;%0A    %7D%0A%0A    public boolean isSuccess() %7B%0A        return success;%0A    %7D%0A%0A    public void setSuccess(boolean success) %7B%0A        this.success = success;%0A    %7D%0A%0A    public int getCode() %7B%0A        return code;%0A    %7D%0A%0A    public void setCode(int code) %7B%0A        this.code = code;%0A    %7D%0A%0A    public Object getData() %7B%0A        return data;%0A    %7D%0A%0A    public void setData(Object data) %7B%0A        this.data = data;%0A    %7D%0A%7D%0A

add controller response