update AjaxResult
This commit is contained in:
parent
1dc84aeb76
commit
4256c15f5d
@ -51,8 +51,4 @@ public class AjaxResult {
|
||||
return this;
|
||||
}
|
||||
|
||||
public AjaxResult toAjax(int rows)
|
||||
{
|
||||
return rows > 0 ? setSuccess(true) : setErrorCode(400);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user