|
@@ -54,9 +54,10 @@ func (l *GetApiRecommendChatLogic) GetApiRecommendChat(req *types.ChatRecommendR
|
|
|
return nil, dberrorhandler.DefaultEntError(l.Logger, err, req)
|
|
|
}
|
|
|
|
|
|
+ questionList := make([]string, 0, recommendCount)
|
|
|
recommendList := make([]string, 0, recommendCount)
|
|
|
for _, val := range list {
|
|
|
- recommendList = append(recommendList, val.Content)
|
|
|
+ questionList = append(questionList, val.Content)
|
|
|
}
|
|
|
|
|
|
//TODO 这里根据历史记录返回推荐内容
|