Stella981 Stella981
4年前
Redis知识点
1\.应用场景缓存:根据键值过期时间设置请求频率限制:比如短信验证码120秒内只能发送一次,则将标志性的keyvalue键值对设置过期时间为120秒,用户请求的时候判断一下【SETkeyvalueEX120NX】排行榜:利用zset数据类型计数器:利用INCRK
Stella981 Stella981
4年前
Spring Security Oauth2.0 实现短信验证码登录
springsecurityoauth2登录过程详解​!oauth2登录过程详解.png(https://ask.qcloudimg.com/draft/1219867/th3wmc3zzu.png)​定义手机号登录令牌/
Wesley13 Wesley13
4年前
Java调用阿里云短信接口发送手机验证码
_前五步可参考阿里云服务文档:https://help.aliyun.com/document\_detail/59210.html?spma2c4g.11174283.4.1.2b152c42DoJ7Mt(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fhelp.aliyun.com