增加接口:查询当前用户的价格屏蔽
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user