Commit bf60c3ab authored by shiyu's avatar shiyu

查询ai列表

parent ba38045c
...@@ -48,6 +48,7 @@ public class AiAssistantServiceImpl implements AiAssistantService { ...@@ -48,6 +48,7 @@ public class AiAssistantServiceImpl implements AiAssistantService {
@Override @Override
public Result findList(AiAssistantRequestDto dto) { public Result findList(AiAssistantRequestDto dto) {
logger.info("============= 开始查询AI列表 ============");
try { try {
//查询当前用户的会话列表 //查询当前用户的会话列表
int page = 0; int page = 0;
...@@ -91,6 +92,7 @@ public class AiAssistantServiceImpl implements AiAssistantService { ...@@ -91,6 +92,7 @@ public class AiAssistantServiceImpl implements AiAssistantService {
} }
aiAssistantVos.add(aiAssistantVo); aiAssistantVos.add(aiAssistantVo);
}); });
logger.info("============= 查询AI列表成功 ============");
return Result.success(PageSearchResult.of(pageInfo, aiAssistantVos)); return Result.success(PageSearchResult.of(pageInfo, aiAssistantVos));
} catch (Exception e) { } catch (Exception e) {
logger.error("查询ai助手列表error : {}", e); logger.error("查询ai助手列表error : {}", e);
......
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