| Line 182... |
Line 182... |
| 182 |
|
182 |
|
| 183 |
@ApiImplicitParams({
|
183 |
@ApiImplicitParams({
|
| 184 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
184 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
| 185 |
@RequestMapping(value = "/fofo", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
185 |
@RequestMapping(value = "/fofo", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 186 |
public ResponseEntity<?> getFofo(HttpServletRequest request,
|
186 |
public ResponseEntity<?> getFofo(HttpServletRequest request,
|
| 187 |
@RequestParam(value = "categoryId", required = false, defaultValue = "(3 OR 6)") String categoryId,
|
187 |
@RequestParam(value = "categoryId", required = false, defaultValue = "10006") String categoryId,
|
| 188 |
@RequestParam(value = "offset") String offset, @RequestParam(value = "limit") String limit,
|
188 |
@RequestParam(value = "offset") String offset, @RequestParam(value = "limit") String limit,
|
| 189 |
@RequestParam(value = "sort", required = false) String sort,
|
189 |
@RequestParam(value = "sort", required = false) String sort,
|
| 190 |
@RequestParam(value = "brand", required = false) String brand,
|
190 |
@RequestParam(value = "brand", required = false) String brand,
|
| 191 |
@RequestParam(value = "subCategoryId", required = false) int subCategoryId,
|
191 |
@RequestParam(value = "subCategoryId", required = false) int subCategoryId,
|
| 192 |
@RequestParam(value = "q", required = false) String queryTerm,
|
192 |
@RequestParam(value = "q", required = false) String queryTerm,
|