关于返回参数的格式说明
注意:**所有返回的参数均为Json格式的字符串**,内部封装的类为BaseResponse,BaseResponse分为三个域:code,msg,data。真正的数据存储在data中,data的类型多变,注意查看类的设计。而code与msg则是为了测试方便而设计的状态码以及输出信息。
public class BaseResponse<T> {
private Integer code;
private String msg;
private T data;
}
该接口文档中所有的返回参数均为data域中的数据,前端拿到数据后注意提取封装。