log/ali oss
This commit is contained in:
@@ -115,6 +115,14 @@ public class ControllerLogAspect {
|
||||
} else {
|
||||
if (result != null && result.getClass().equals(byte[].class)) {
|
||||
operationLog.setResult("byte数组。。。");
|
||||
} else if (result instanceof AlitaResult){
|
||||
if (((AlitaResult<?>) result).getData() instanceof Page){
|
||||
operationLog.setResult("分页结果。。。");
|
||||
} else if (((AlitaResult<?>) result).getData() instanceof List){
|
||||
operationLog.setResult("List结果。。。");
|
||||
} else {
|
||||
operationLog.setResult(parseString(result));
|
||||
}
|
||||
} else {
|
||||
operationLog.setResult(parseString(result));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user