|
|
@@ -88,7 +88,7 @@ public class AgentIndexController {
|
|
|
public Result<List<AgentAdGroupStaticsVO>> profit(@ApiIgnore @AuthenticationPrincipal AgentUserInfo userInfo) {
|
|
|
String redisKey = StrConstant.PLATFORM_AGENT_SUFFIX+StrConstant.PROFIT+userInfo.getUserId();
|
|
|
//判断无缓存或者缓存小于3分钟时查询最新数据, 保存一小时
|
|
|
- if(!redisService.hasKey(redisKey) || redisService.getExpire(redisKey) < 3){
|
|
|
+ if(Boolean.FALSE.equals(redisService.hasKey(redisKey)) || redisService.getExpire(redisKey) < 3){
|
|
|
//查询代理商拥有的app
|
|
|
List<YtApp> ytApps = appMapper.queryAll(userInfo.getUserId());
|
|
|
if(CollUtil.isEmpty(ytApps)){
|