改bug
This commit is contained in:
@@ -69,14 +69,14 @@ public class AiVipController {
|
||||
flag = 2;//是vip不可升级
|
||||
}
|
||||
}
|
||||
}else {
|
||||
List<AiChatContent> quankeContentList = aiChatContentService.list(new LambdaQueryWrapper<AiChatContent>()
|
||||
.eq(AiChatContent::getUserId,ShiroUtils.getUId())
|
||||
.like(AiChatContent::getChatAssistantName,"全科")
|
||||
.orderByAsc(AiChatContent::getCreateTime)
|
||||
.groupBy(AiChatContent::getChatId));
|
||||
}
|
||||
List<AiChatContent> quankeContentList = aiChatContentService.list(new LambdaQueryWrapper<AiChatContent>()
|
||||
.eq(AiChatContent::getUserId,ShiroUtils.getUId())
|
||||
.like(AiChatContent::getChatAssistantName,"全科")
|
||||
.orderByAsc(AiChatContent::getCreateTime)
|
||||
.groupBy(AiChatContent::getChatId));
|
||||
if (quankeContentList.size()<3){
|
||||
freeCount = 3-quankeContentList.size();
|
||||
|
||||
}
|
||||
return R.ok().put("aiVipLog",aiVipLog)
|
||||
.put("flag",flag)
|
||||
|
||||
Reference in New Issue
Block a user