短信验证码缓存key未包含uuid问题处理

This commit is contained in:
Chopper 2021-12-20 09:37:34 +08:00
parent 9f75e1fae8
commit e8f44ef6f2

View File

@ -377,6 +377,6 @@ public class SmsUtilAliImplService implements SmsUtil, AliSmsUtil {
* @return * @return
*/ */
static String cacheKey(VerificationEnums verificationEnums, String mobile, String uuid) { static String cacheKey(VerificationEnums verificationEnums, String mobile, String uuid) {
return CachePrefix.SMS_CODE.getPrefix() + verificationEnums.name() + mobile; return CachePrefix.SMS_CODE.getPrefix() + verificationEnums.name() + uuid + mobile;
} }
} }