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