mirror of https://gitee.com/stylefeng/guns
修复一个提示错误,增加日志打印sql的开关
parent
d8e482bc7d
commit
eedbeb109e
|
@ -197,7 +197,7 @@ public class GlobalExceptionHandler {
|
|||
}
|
||||
|
||||
// 默认响应前端json
|
||||
ErrorResponseData errorResponseData = renderJson(authException);
|
||||
ErrorResponseData errorResponseData = renderJson(authException.getErrorCode(), authException.getUserTip(), authException);
|
||||
ResponseRenderUtil.renderJsonResponse(response, errorResponseData);
|
||||
return null;
|
||||
}
|
||||
|
|
|
@ -36,6 +36,7 @@ mybatis-plus:
|
|||
cache-enabled: true
|
||||
lazy-loading-enabled: true
|
||||
multiple-result-sets-enabled: true
|
||||
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
||||
global-config:
|
||||
banner: false
|
||||
enable-sql-runner: true
|
||||
|
|
Loading…
Reference in New Issue