标签:信息 pat 获取 ping except post path ring service
@PostMapping(name="获取用户信息", value="/getUser/{userId}") public Object getUser(@PathVariable("userId") String userId) { try { User user = userService.getUser(userId); return user; } catch (Exception e) { logger.error("获取用户信息异常 " + e.getMessage()); return "获取用户信息异常"); } }
标签:信息 pat 获取 ping except post path ring service
原文地址:https://www.cnblogs.com/jingyi17/p/10281949.html