Commit 5c0f9fb9 by haozi

response增加toString方法

parent 2fd6b519
......@@ -39,4 +39,13 @@ public class Response<T> implements Serializable {
public void setData(T data) {
this.data = data;
}
@Override
public String toString() {
return "Response{" +
"code=" + code +
", msg='" + msg +
", data=" + data +
'}';
}
}
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