chore: define svc func
This commit is contained in:
parent
7578dd837d
commit
19b2278294
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue