| 程序包 | 说明 |
|---|---|
| com.founder.common.core.web.controller | |
| com.founder.common.core.web.domain |
| 限定符和类型 | 方法和说明 |
|---|---|
AjaxResult |
BaseController.error()
返回失败消息
|
AjaxResult |
BaseController.error(String message)
返回失败消息
|
AjaxResult |
BaseController.success()
返回成功
|
AjaxResult |
BaseController.success(String message)
返回成功消息
|
protected AjaxResult |
BaseController.toAjax(boolean result)
响应返回结果
|
protected AjaxResult |
BaseController.toAjax(int rows)
响应返回结果
|
| 限定符和类型 | 方法和说明 |
|---|---|
static AjaxResult |
AjaxResult.error()
返回错误消息
|
static AjaxResult |
AjaxResult.error(int code,
String msg)
返回错误消息
|
static AjaxResult |
AjaxResult.error(String msg)
返回错误消息
|
static AjaxResult |
AjaxResult.error(String msg,
Object data)
返回错误消息
|
AjaxResult |
AjaxResult.put(String key,
Object value)
方便链式调用
|
static AjaxResult |
AjaxResult.success()
返回成功消息
|
static AjaxResult |
AjaxResult.success(Object data)
返回成功数据
|
static AjaxResult |
AjaxResult.success(String msg)
返回成功消息
|
static AjaxResult |
AjaxResult.success(String msg,
Object data)
返回成功消息
|
Copyright © 2021. All rights reserved.