Pre Merge pull request !246 from runphp/N/A

pull/246/MERGE
runphp 3 years ago committed by Gitee
commit cb949c27b0
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

@ -102,4 +102,12 @@ public class R<T> implements Serializable
{
this.data = data;
}
public Boolean isError() {
return !isSuccess();
}
public Boolean isSuccess() {
return R.SUCCESS == getCode();
}
}

Loading…
Cancel
Save