Commit 362ea410 authored by yanzg's avatar yanzg

身份证识别

parent 47fdf491
......@@ -72,7 +72,9 @@ public class TokenHelper {
boolean isExpire = cacheTokenData.getExpire() < System.currentTimeMillis();
boolean isToken = !StringHelper.isEmpty(cacheTokenData.getToken()) && (isEmpty || isExpire);
if (isToken) {
Log.info(TokenHelper.class, "开始从数据库获取");
TokenData databaseToken = tokenLoad.load(cacheTokenData.getToken());
Log.info(TokenHelper.class, "从数据库获取成功");
if (databaseToken == null || databaseToken.getData() == null) {
return null;
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment