|
|
@@ -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;
|
|
|
}
|