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 用户信息
|
* @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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue