public class L extends Object
| 构造器和说明 |
|---|
L() |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> ResultList<T> |
failed(String msg)
失败
|
static <T> ResultList<T> |
failed(String msg,
Collection<T> data)
失败
|
static <T> ResultList<T> |
ok()
成功
|
static <T> ResultList<T> |
ok(Collection<T> data)
成功
|
static <T> ResultList<T> |
ok(Collection<T> data,
Long total,
Integer pageIndex,
Integer pageSize)
成功
|
static <T> ResultList<T> |
ok(Collection<T> data,
String msg)
成功
|
static <T> ResultList<T> |
ok(com.github.pagehelper.PageInfo<T> info)
成功
|
static <T> ResultList<T> |
ok(String msg,
Collection<T> data,
Long total,
Integer pageIndex,
Integer pageSize)
成功
|
public static <T> ResultList<T> ok()
T - public static <T> ResultList<T> ok(Collection<T> data)
T - data - public static <T> ResultList<T> ok(Collection<T> data, String msg)
T - data - msg - public static <T> ResultList<T> ok(com.github.pagehelper.PageInfo<T> info)
T - public static <T> ResultList<T> ok(String msg, Collection<T> data, Long total, Integer pageIndex, Integer pageSize)
T - msg - data - total - pageIndex - pageSize - public static <T> ResultList<T> ok(Collection<T> data, Long total, Integer pageIndex, Integer pageSize)
T - data - total - pageIndex - pageSize - public static <T> ResultList<T> failed(String msg)
T - msg - public static <T> ResultList<T> failed(String msg, Collection<T> data)
T - msg - data - Copyright © 2025. All rights reserved.