From 76b02938cbfd6f8accdcbf10c8680985049d0bab Mon Sep 17 00:00:00 2001 From: guod Date: Wed, 7 Feb 2018 13:49:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20UserController.java?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/github/pig/admin/controller/UserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/UserController.java b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/UserController.java index f906b6c0..f4c62ae1 100644 --- a/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/UserController.java +++ b/pig-modules/pig-upms-service/src/main/java/com/github/pig/admin/controller/UserController.java @@ -62,8 +62,8 @@ public class UserController extends BaseController { * @return 用户信息 */ @GetMapping("/{id}") - public R user(@PathVariable Integer id) { - return new R<>(userService.selectUserVoById(id)); + public UserVo user(@PathVariable Integer id) { + return userService.selectUserVoById(id); } /**