| 程序包 | 说明 |
|---|---|
| com.abasecode.opencode.base.safe | |
| com.abasecode.opencode.base.safe.handler | |
| com.abasecode.opencode.base.safe.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static SafeResult |
SafeResult.error()
SafeResult
|
static SafeResult |
SafeResult.error(Integer code)
SafeResult
|
static SafeResult |
SafeResult.error(Integer code,
String message)
SafeResult
|
static SafeResult |
SafeResult.ok(String sign,
String data)
SafeResult
|
static SafeResult |
SafeResult.ok(String sign,
String data,
String message)
SafeResult
|
static SafeResult |
SafeResult.ok(String sign,
String data,
String message,
Integer code)
SafeResult
|
| 限定符和类型 | 方法和说明 |
|---|---|
SafeResult |
ResponseHandler.beforeBodyWrite(Object body,
org.springframework.core.MethodParameter methodParameter,
org.springframework.http.MediaType mediaType,
Class<? extends org.springframework.http.converter.HttpMessageConverter<?>> aClass,
org.springframework.http.server.ServerHttpRequest serverHttpRequest,
org.springframework.http.server.ServerHttpResponse serverHttpResponse) |
| 限定符和类型 | 方法和说明 |
|---|---|
static SafeResult |
CodeCryptUtils.encryptData(com.abasecode.opencode.base.code.CodeResult result,
String key,
String iv,
String secret)
encrypt CodeResult 2 SafeResult
|
| 限定符和类型 | 方法和说明 |
|---|---|
static com.abasecode.opencode.base.code.CodeResult |
CodeCryptUtils.decryptData(SafeResult result,
String key,
String iv)
decrypt SafeResult to CodeResult
|
Copyright © 2023. All rights reserved.