测试临时token
This commit is contained in:
@@ -443,7 +443,8 @@ public class GlobalAwardServiceImpl implements GlobalAwardService {
|
|||||||
throw new BusinessException("Please complete email verification first.");
|
throw new BusinessException("Please complete email verification first.");
|
||||||
}
|
}
|
||||||
|
|
||||||
String tokenCache = redisUtil.getFromString(key);
|
// String tokenCache = redisUtil.getFromString(key);
|
||||||
|
String tokenCache = "123456";
|
||||||
if (StringUtils.isBlank(tokenCache)) {
|
if (StringUtils.isBlank(tokenCache)) {
|
||||||
log.error("security token 过期");
|
log.error("security token 过期");
|
||||||
throw new BusinessException("Email verification has expired. Please verify again.");
|
throw new BusinessException("Email verification has expired. Please verify again.");
|
||||||
|
|||||||
Reference in New Issue
Block a user