Commit c77d9b40 authored by 杨锐's avatar 杨锐

BadSqlGrammarException 提示文案修改。

parent fe8253c5
......@@ -163,6 +163,6 @@ public class ExceptionHandlingController implements IBaseController {
@ResponseStatus(HttpStatus.OK)
public JsonResult handleBadSqlGrammarException(BadSqlGrammarException e) {
log.error("sql语法解析异常 error sql = 【{}】", e.getSql(), e);
return JsonResult.buildErrorStateResult("sql语法解析异常。", null);
return JsonResult.buildErrorStateResult("参数错误。", null);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment