Commit 35b2697b authored by huyuchen's avatar huyuchen

huyc 部门根节点数值修改

parent c5a5871c
......@@ -114,8 +114,8 @@ public class UserController {
* @param id ID
* @return 用户信息
*/
@GetMapping("/{id:\\d+}")
public R<UserVO> user(@PathVariable Long id) {
@GetMapping("/{id}")
public R<UserVO> user1(@PathVariable String id) {
return R.ok(userService.getUserVoById(id));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment