用户权限调整

yun-zuoyi
wei.peng 6 years ago
parent 4b27ed9917
commit 6e21f73a86

@ -77,6 +77,18 @@ public class AuthController extends CoreBaseController {
} }
} }
@GetMapping(value = "/get-user-type")
@ApiOperation(value = "获取登录用户信息", notes = "获取当前登录用户账号详细信息")
public ResultBean getUserType() {
LOGGER.info("获取用户信息...lang:{}", AuthUtil.getSessionAttribute("languageCode"));
try {
CommonEnumUtil.USER_TYPE type = AuthUtil.getUserType();
return new ResultBean(true, "", type);
} catch (ImppBusiException e) {
return new ResultBean(false, e.getErrorDetail() + "-[解决]" + e.getErrorSolution());
}
}
/** /**
* *

Loading…
Cancel
Save