fix(全局): 78487

This commit is contained in:
yjz
2024-02-07 09:19:49 +08:00
parent bf48f6b29b
commit e34859142f
@@ -92,7 +92,7 @@ public class JeroBootExceptionHandler {
@ExceptionHandler(DataIntegrityViolationException.class)
public Result<T> handleDataIntegrityViolationException(DataIntegrityViolationException e) {
log.error(e.getMessage(), e);
return Result.error("字段太长,超出数据库字段的长度");
return Result.error("字段太长,请重新选择");
}
@ExceptionHandler(PoolException.class)