opt:日志优化
This commit is contained in:
@@ -130,7 +130,7 @@ public class LogAspect {
|
|||||||
if (ex instanceof BadRequestException){
|
if (ex instanceof BadRequestException){
|
||||||
throw ex;
|
throw ex;
|
||||||
}else {
|
}else {
|
||||||
throw new BadRequestException("系统繁忙,请联系管理员确认,后再试并");
|
throw new BadRequestException("系统繁忙,请联系管理员确认,稍后再试");
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
log.info("[--response--][请求接口:{} 执行结束][耗时:{}s]", url, (System.currentTimeMillis() - comming) / 1000);
|
log.info("[--response--][请求接口:{} 执行结束][耗时:{}s]", url, (System.currentTimeMillis() - comming) / 1000);
|
||||||
|
|||||||
Reference in New Issue
Block a user