@@ -0,0 +1,628 @@
+package com.tamic.retrofitclient.net;%0A%0A%0A/**%0A * %E7%BD%91%E7%BB%9C%E8%BF%94%E5%9B%9E%E5%9F%BA%E7%B1%BB %E6%94%AF%E6%8C%81%E6%B3%9B%E5%9E%8B%0A * Created by Tamic on 2016-06-06.%0A */%0Apublic class BaseResponse%3CT%3E %7B%0A%0A    private int code;%0A    private String msg;%0A    private T data;%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 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 T getData() %7B%0A        return data;%0A    %7D%0A%0A    public void setData(T data) %7B%0A        this.data = data;%0A    %7D%0A%0A    public boolean isOk() %7B%0A        return code == 0;%0A    %7D%0A%0A%7D%0A

add BaseResponse 增加网络返回基类