Commit b2c77477 by guojuxing

登录用户

parent 2f1dbdf7
......@@ -65,11 +65,8 @@ public class MenuController {
UserDetail userDetail = UserDetailUtils.getUserDetail();
Integer userId = userDetail.getUserId();
Integer enterpriseId = userDetail.getEnterpriseId();
ServiceResponse<List<MenuDTO>> userMenu = this.menuApiService.getUserMenuOfGic(
new UserMenuQO()
.setEnterpriseId(enterpriseId)
.setBaseVersionCode(userDetail.getEnterpriseInfo().getVersionCode())
.setUserId(userId));
ServiceResponse<List<MenuDTO>> userMenu = this.menuApiService.getUserMenuOfGic(enterpriseId, userId,
currentMenu, UserDetailUtils.getUserDetail().getEnterpriseInfo().getVersionCode());
if (userMenu.isSuccess()) {
return RestResponse.success(userMenu.getResult());
}
......
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