|  | @ -20,7 +20,7 @@ import java.util.UUID;
 | 
	
		
			
				|  |  | import java.util.concurrent.ConcurrentHashMap;
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | /**
 | 
	
		
			
				|  |  |  * 验证码生成控制器。验证码生成后保存到Redis中,并将Redis的Key与图片路径返回。
 | 
	
		
			
				|  |  |  * 患者端验证码生成控制器。验证码生成后保存到Redis中,并将Redis的Key与图片路径返回。
 | 
	
		
			
				|  |  |  * 客户端获取图片,并由用户输入后,与redis的key一块返回,用于验证是否出错。
 | 
	
		
			
				|  |  |  *
 | 
	
		
			
				|  |  |  * @author Sand
 | 
	
	
		
			
				|  | @ -28,7 +28,7 @@ import java.util.concurrent.ConcurrentHashMap;
 | 
	
		
			
				|  |  |  */
 | 
	
		
			
				|  |  | @Api(description = "验证码")
 | 
	
		
			
				|  |  | @RestController
 | 
	
		
			
				|  |  | @RequestMapping(value = "/captcha", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  | @RequestMapping(value = "/patient/captcha", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
 | 
	
		
			
				|  |  | public class CaptchaController extends BaseController {
 | 
	
		
			
				|  |  |     private Map<String, String> captchaCache = new ConcurrentHashMap<>();
 | 
	
		
			
				|  |  |     private DefaultKaptcha captchaProducer = new DefaultKaptcha();
 |