mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
菜单
系统设置 角色
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user