Commit 07dbb1ef authored by Captain.B's avatar Captain.B Committed by 刘瑞斌
Browse files

fix: 修复userinfo接口报错

parent 058b31af
Showing with 0 additions and 3 deletions
+0 -3
......@@ -177,9 +177,6 @@ public class UserController {
@GetMapping("/info/{userId}")
public UserDTO getUserInfo(@PathVariable(value = "userId") String userId) {
if (!StringUtils.equals(userId, SessionUtils.getUserId())) {
MSException.throwException(Translator.get("not_authorized"));
}
return userService.getUserInfo(userId);
}
......
Supports Markdown
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