Subversion Repositories SmartDukaan

Rev

Rev 26631 | Rev 26648 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 26631 Rev 26632
Line 227... Line 227...
227
		}.getType());
227
		}.getType());
228
 
228
 
229
		return responseSender.ok(dealBrandsResponse);
229
		return responseSender.ok(dealBrandsResponse);
230
	}
230
	}
231
 
231
 
232
	@RequestMapping(value = "/store/otp/generateOTP", method = RequestMethod.POST, produces = MediaType.APPLICATION_JSON_VALUE)
232
	@RequestMapping(value = "/store/otp/generateOTP", method = RequestMethod.GET, produces = MediaType.APPLICATION_JSON_VALUE)
233
	public ResponseEntity<?> cart(HttpServletRequest request, @RequestParam String email, @RequestParam String phone)
233
	public ResponseEntity<?> cart(HttpServletRequest request, @RequestParam String email, @RequestParam String phone)
234
			throws Exception {
234
			throws Exception {
235
 
235
 
236
		return responseSender.ok(otpProcessor.generateOtp(email, phone, OtpType.PREBOOKING_ORDER));
236
		return responseSender.ok(otpProcessor.generateOtp(email, phone, OtpType.PREBOOKING_ORDER));
237
 
237