parent
b5096b5f5c
commit
d0806f2b79
|
|
@ -45,7 +45,7 @@ public class AjaxResult<T> {
|
|||
* @return AjaxResult
|
||||
*/
|
||||
public static AjaxResult<Object> success() {
|
||||
return new AjaxResult<>(ErrorEnum.SUCCESS.getCode(), ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.HIDE_MSG.getCode());
|
||||
return new AjaxResult<>(ErrorEnum.SUCCESS.getCode(), ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.SHOW_MSG.getCode());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -56,7 +56,7 @@ public class AjaxResult<T> {
|
|||
* @return AjaxResult
|
||||
*/
|
||||
public static AjaxResult<Object> success(Integer code) {
|
||||
return new AjaxResult<>(code, ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.HIDE_MSG.getCode());
|
||||
return new AjaxResult<>(code, ErrorEnum.SUCCESS.getMsg(), new ArrayList<>(), ErrorEnum.SHOW_MSG.getCode());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue