更新 UserController.java

This commit is contained in:
guod 2018-02-07 13:49:18 +08:00
parent 6b8312737d
commit 76b02938cb
1 changed files with 2 additions and 2 deletions

View File

@ -62,8 +62,8 @@ public class UserController extends BaseController {
* @return 用户信息 * @return 用户信息
*/ */
@GetMapping("/{id}") @GetMapping("/{id}")
public R<UserVo> user(@PathVariable Integer id) { public UserVo user(@PathVariable Integer id) {
return new R<>(userService.selectUserVoById(id)); return userService.selectUserVoById(id);
} }
/** /**