mirror of https://gitee.com/maxjhandsome/pig
更新 UserController.java
This commit is contained in:
parent
6b8312737d
commit
76b02938cb
|
@ -62,8 +62,8 @@ public class UserController extends BaseController {
|
|||
* @return 用户信息
|
||||
*/
|
||||
@GetMapping("/{id}")
|
||||
public R<UserVo> user(@PathVariable Integer id) {
|
||||
return new R<>(userService.selectUserVoById(id));
|
||||
public UserVo user(@PathVariable Integer id) {
|
||||
return userService.selectUserVoById(id);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue