Skip to content

Commit

Permalink
remove mock data logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pkusunjy committed Aug 18, 2024
1 parent beb2f5a commit 3050b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service/report/report.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3050b08

Please sign in to comment.