LAPTOP-5NTQJPUS\LT 9 месяцев назад
Родитель
Сommit
9c26752230

+ 1 - 1
PacsOnline_Wechat_Doctor/src/main/java/com/zskk/service/SmsService.java

@@ -70,7 +70,7 @@ public class SmsService {
 		String cacheKey = "SMS_CODE_" + phone;
 		String content = Redis.use("weixin_doctor").get(cacheKey);
 		if (content != null && content.equals(code)) {
-			Redis.use().del(cacheKey);
+			Redis.use("weixin_doctor").del(cacheKey);
 			return content;
 		}else {
 			return null;