public class BaseResult<T> extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
code
app code
|
protected String |
duration
time unit is second
|
protected String |
msg
success/tip/error msg
|
protected Date |
responseTime
response time,format is yyyy-MM-dd HH:mm:ss
|
protected T |
result
data body
|
| 构造器和说明 |
|---|
BaseResult() |
protected int code
protected String msg
protected Date responseTime
protected String duration
protected T result
public int getCode()
public void setCode(int code)
public String getMsg()
public void setMsg(String msg)
public Date getResponseTime()
public void setResponseTime(Date responseTime)
public String getDuration()
public void setDuration(String duration)
public T getResult()
public void setResult(T result)
Copyright © 2019 Shanghai Stock Exchange. All rights reserved.