From 3050b088ae30070d736cda501e074c1ad826c250 Mon Sep 17 00:00:00 2001 From: pkusunjy <767978963@qq.com> Date: Sun, 18 Aug 2024 13:49:08 +0800 Subject: [PATCH] remove mock data logic --- service/report/report.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service/report/report.go b/service/report/report.go index d423616..1606ea5 100644 --- a/service/report/report.go +++ b/service/report/report.go @@ -86,8 +86,8 @@ func (server ReportService) IeltsTalkReport(ctx context.Context, req *chat_compl qaPairVec = append(qaPairVec, data.AnswerList...) } examAnswerList.AnswerList = append(examAnswerList.AnswerList, qaPairVec...) - // 题库里没有答案,mock一下数据 - examAnswerList.AnswerList[0].Answer = "No, I like to sleep." + // // 题库里没有答案,mock一下数据 + // examAnswerList.AnswerList[0].Answer = "No, I like to sleep." grpclog.Infof("grpc request:%+v", &examAnswerList) // 向grpc服务发起请求 talkReport, err := server.IeltsAiChatClient.IeltsTalkReportImpl(ctx, &examAnswerList)