| Line 180... |
Line 180... |
| 180 |
@RequestParam(value = "hotDeal", required = false) boolean hotDeal)
|
180 |
@RequestParam(value = "hotDeal", required = false) boolean hotDeal)
|
| 181 |
throws Throwable {
|
181 |
throws Throwable {
|
| 182 |
List<FofoCatalogResponse> dealResponse = new ArrayList<>();
|
182 |
List<FofoCatalogResponse> dealResponse = new ArrayList<>();
|
| 183 |
UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
|
183 |
UserInfo userInfo = (UserInfo) request.getAttribute("userInfo");
|
| 184 |
if (roleManagerService.isPartner(userInfo.getRoleIds())) {
|
184 |
if (roleManagerService.isPartner(userInfo.getRoleIds())) {
|
| - |
|
185 |
categoryId = "(3 OR 6)";
|
| 185 |
UserCart uc = userAccountRepository.getUserCart(userInfo.getUserId());
|
186 |
UserCart uc = userAccountRepository.getUserCart(userInfo.getUserId());
|
| 186 |
List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
|
187 |
List<Integer> tagIds = pricingService.getTagsIdsByRetailerId(uc.getUserId());
|
| 187 |
RestClient rc = new RestClient();
|
188 |
RestClient rc = new RestClient();
|
| 188 |
Map<String, String> params = new HashMap<>();
|
189 |
Map<String, String> params = new HashMap<>();
|
| 189 |
List<String> mandatoryQ = new ArrayList<>();
|
190 |
List<String> mandatoryQ = new ArrayList<>();
|