chore: define svc func

This commit is contained in:
Jeremy Yin 2024-03-22 22:39:24 +08:00
parent 7578dd837d
commit 19b2278294
1 changed files with 11 additions and 0 deletions

View File

@ -13,3 +13,14 @@ type ChatService struct {
func (s ChatService) GetAIChatResponse(req model.GetAiChatResponseInput) model.GetAiChatResponseOutput {
return model.GetAiChatResponseOutput{Response: "todo"}
}
func (s ChatService) GetUserChatHistory(lastN int) model.GetUserChatHistoryOutput {
return make(model.GetUserChatHistoryOutput, 0)
}
func (s ChatService) GetChatStatusToday() model.GetChatStatusTodayOutput {
return model.GetChatStatusTodayOutput{
UserName: s.ctx.User.Name,
ChatCnt: 0,
}
}