mirror of
https://github.com/dromara/tianai-captcha.git
synced 2026-05-07 06:04:34 +08:00
@@ -16,6 +16,7 @@ public class ApiResponse<T> implements Serializable {
|
|||||||
public static final ApiResponse<?> SUCCESS;
|
public static final ApiResponse<?> SUCCESS;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
|
//默认
|
||||||
CodeDefinition definition = ApiResponseStatusConstant.SUCCESS;
|
CodeDefinition definition = ApiResponseStatusConstant.SUCCESS;
|
||||||
SUCCESS = new ApiResponse(definition.getCode(), definition.getMessage(), null);
|
SUCCESS = new ApiResponse(definition.getCode(), definition.getMessage(), null);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user