| Line 401... |
Line 401... |
| 401 |
|
401 |
|
| 402 |
@RequestMapping(value = "/banners/{bannerType}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
402 |
@RequestMapping(value = "/banners/{bannerType}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 403 |
public ResponseEntity<?> getBanners(@PathVariable String bannerType) {
|
403 |
public ResponseEntity<?> getBanners(@PathVariable String bannerType) {
|
| 404 |
return new ResponseEntity<>(mongoClient.getBannersByType(bannerType), HttpStatus.OK);
|
404 |
return new ResponseEntity<>(mongoClient.getBannersByType(bannerType), HttpStatus.OK);
|
| 405 |
}
|
405 |
}
|
| - |
|
406 |
@RequestMapping(value = "/deals/subCategories", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
| - |
|
407 |
public ResponseEntity<?> getSubcategoriesToDisplay() {
|
| - |
|
408 |
return new ResponseEntity<>(mongoClient.getSubcategoriesToDisplay(), HttpStatus.OK);
|
| 406 |
|
409 |
}
|
| 407 |
@ApiImplicitParams({
|
410 |
@ApiImplicitParams({
|
| 408 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
411 |
@ApiImplicitParam(name = "Auth-Token", value = "Auth-Token", required = true, dataType = "string", paramType = "header") })
|
| 409 |
@RequestMapping(value = "/deals/skus/{skus}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
412 |
@RequestMapping(value = "/deals/skus/{skus}", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
|
| 410 |
public ResponseEntity<?> getDealsBySkus(@PathVariable String skus) throws ProfitMandiBusinessException {
|
413 |
public ResponseEntity<?> getDealsBySkus(@PathVariable String skus) throws ProfitMandiBusinessException {
|
| 411 |
StringBuffer sb = new StringBuffer("/getDealsForNotification/");
|
414 |
StringBuffer sb = new StringBuffer("/getDealsForNotification/");
|