|
|
@@ -242,6 +242,7 @@ public class WxCUserBasicInfoController extends BaseController { |
|
|
} |
|
|
} |
|
|
//得到当前用户ID |
|
|
//得到当前用户ID |
|
|
String userId = getUser().getId().toString(); |
|
|
String userId = getUser().getId().toString(); |
|
|
|
|
|
stringRedisTemplate.expire(userId, 1, TimeUnit.SECONDS); |
|
|
//查询当前用户得到的值是否为空,为空继续,不为空,返回模板正在导入 |
|
|
//查询当前用户得到的值是否为空,为空继续,不为空,返回模板正在导入 |
|
|
Boolean allCount = stringRedisTemplate.opsForHash().hasKey(userId, "allCount"); |
|
|
Boolean allCount = stringRedisTemplate.opsForHash().hasKey(userId, "allCount"); |
|
|
if (allCount) { |
|
|
if (allCount) { |
|
|
|