| 程序包 | 说明 |
|---|---|
| top.lshaci.framework.common.model |
| 限定符和类型 | 方法和说明 |
|---|---|
JsonResponse<R> |
JsonResponse.addOtherData(String key,
Object value)
Add other data value
|
static <R> JsonResponse<R> |
JsonResponse.build()
Build a json response
|
static <R> JsonResponse<R> |
JsonResponse.failure(String message)
Build a failure json response with message
|
static <R> JsonResponse<R> |
JsonResponse.message(boolean status,
String message)
Build a message json response with status and message
|
JsonResponse<R> |
JsonResponse.removeOtherData(String key)
Remove other data value
|
static <R> JsonResponse<R> |
JsonResponse.success(R data)
Build a success json response with data
|
static <R> JsonResponse<R> |
JsonResponse.successMessage(String message)
Build a success json response with message
|
Copyright © 2019. All rights reserved.