package me.stupidme.cooker.retrofit;

/**
 * Created by StupidL on 2017/3/19.
 */

public class HttpResult<T> {

    private int resultCode;

    private String resultMessage;

    private T data;
}

@@ -35,16 +35,32 @@
 t;%0A%0A/**%0A
+ * %E8%AF%A5%E7%B1%BB%E6%89%BF%E8%BD%BD%E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%94%E5%9B%9E%E7%9A%84%E6%B6%88%E6%81%AF%0A
  * Creat
@@ -130,86 +130,664 @@
     
-private int resultCode;%0A%0A    private String resultMessage;%0A%0A    private T data;
+/**%0A     * %E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%94%E5%9B%9E%E6%B6%88%E6%81%AF%E7%9A%84%E7%8A%B6%E6%80%81%E7%A0%81%0A     */%0A    private int resultCode;%0A%0A    /**%0A     * %E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%94%E5%9B%9E%E6%B6%88%E6%81%AF%E7%9A%84%E6%8F%90%E7%A4%BA%E5%86%85%E5%AE%B9%0A     */%0A    private String resultMessage;%0A%0A    /**%0A     * %E6%9C%8D%E5%8A%A1%E5%99%A8%E8%BF%94%E5%9B%9E%E7%9A%84%E6%95%B0%E6%8D%AE%EF%BC%8C%E6%98%AF%E4%B8%80%E4%B8%AAJSON%E6%95%B0%E7%BB%84%0A     */%0A    private T data;%0A%0A%0A    public int getResultCode() %7B%0A        return resultCode;%0A    %7D%0A%0A    public String getResultMessage() %7B%0A        return resultMessage;%0A    %7D%0A%0A    public T getData() %7B%0A        return data;%0A    %7D%0A%0A    public void setResultCode(int resultCode) %7B%0A        this.resultCode = resultCode;%0A    %7D%0A%0A    public void setResultMessage(String resultMessage) %7B%0A        this.resultMessage = resultMessage;%0A    %7D%0A%0A    public void setData(T data) %7B%0A        this.data = data;%0A    %7D
 %0A%7D%0A

create HttpResult.java to wrap beans