增加接口:查询当前用户的价格屏蔽

This commit is contained in:
季圣华
2022-10-23 18:48:58 +08:00
parent b5a2fab979
commit 6c8427bd89
3 changed files with 27 additions and 3 deletions

View File

@@ -240,4 +240,9 @@ public class RoleService {
}
return price;
}
public String getCurrentPriceLimit(HttpServletRequest request) throws Exception {
Long userId = userService.getUserId(request);
return userService.getRoleTypeByUserId(userId).getPriceLimit();
}
}