Pre Merge pull request !251 from 郭嘉/N/A
This commit is contained in:
commit
07d3f3b70e
|
|
@ -102,14 +102,4 @@ public class R<T> implements Serializable
|
|||
{
|
||||
this.data = data;
|
||||
}
|
||||
|
||||
public Boolean isError()
|
||||
{
|
||||
return !isSuccess();
|
||||
}
|
||||
|
||||
public Boolean isSuccess()
|
||||
{
|
||||
return R.SUCCESS == getCode();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue