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