Commit 4fbb589e authored by xixinzhao's avatar xixinzhao

修改路线名称重复报错提示

parent 082e9fae
...@@ -194,7 +194,7 @@ public class RouteController extends AbstractBaseController { ...@@ -194,7 +194,7 @@ public class RouteController extends AbstractBaseController {
return CommonResponseUtil.success(routeService.addRouteNew(route)); return CommonResponseUtil.success(routeService.addRouteNew(route));
} catch (Exception e) { } catch (Exception e) {
log.error(e.getMessage(), e); log.error(e.getMessage(), e);
return CommonResponseUtil.failure("巡检路线新增失败"); return CommonResponseUtil.failure(e.getMessage());
} }
} }
......
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