类 BaseController
java.lang.Object
io.springboot.plugin.goview.common.base.BaseController
- 直接已知子类:
GoViewProjectAPIController
web层通用数据处理
- 作者:
- fuce
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected static ResultTableDescribe: 返回数据表格数据 Param data Return 表格分页数据error()返回失败消息返回错误码消息返回失败消息voidinitBinder(org.springframework.web.bind.WebDataBinder binder) 将前台传递过来的日期格式的字符串,自动转化为Date类型protected static ResultTableDescribe: 返回数据表格数据 分页 Param data Return 表格分页数据页面跳转返回object数据success()返回成功返回成功消息protected AjaxResulttoAjax(int rows) 响应返回结果protected static ResultTableDescribe: 返回树状表格数据 分页 Param data Return 表格分页数据
-
构造器详细资料
-
BaseController
public BaseController()
-
-
方法详细资料
-
initBinder
@InitBinder public void initBinder(org.springframework.web.bind.WebDataBinder binder) 将前台传递过来的日期格式的字符串,自动转化为Date类型 -
toAjax
响应返回结果- 参数:
rows- 影响行数- 返回:
- 操作结果
-
success
返回成功 -
error
返回失败消息 -
success
返回成功消息 -
error
返回失败消息 -
error
返回错误码消息 -
retobject
返回object数据 -
redirect
页面跳转 -
pageTable
Describe: 返回数据表格数据 分页 Param data Return 表格分页数据 -
dataTable
Describe: 返回数据表格数据 Param data Return 表格分页数据 -
treeTable
Describe: 返回树状表格数据 分页 Param data Return 表格分页数据
-