Ver Fonte

update
短信消息过期时间改为60秒

lifang há 3 meses atrás
pai
commit
85aa630765

+ 2 - 2
tr-modules/tr-module-smartFollowUp/src/main/java/cn/tr/module/smart/common/service/impl/BizSmsServiceImpl.java

@@ -53,13 +53,13 @@ public class BizSmsServiceImpl implements IBizSmsService {
         }
     }
 
-    @Cacheable(value = "global:sms:code#300", key = "#type+#phone")
+    @Cacheable(value = "global:sms:code#60", key = "#type+#phone")
     @Override
     public String getSmsCode(String type, String phone){
         return null;
     }
 
-    @CachePut(value = "global:sms:code#300",key = "#type+#phone")
+    @CachePut(value = "global:sms:code#60",key = "#type+#phone")
     public String refreshSmsCode(String type,String phone,String code){
         return code;
     }