Merge pull request !246 from runphp/N/A
@ -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();