@@ -74,7 +74,12 @@ func (a *ConversationApi) GetConversationList(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
commonResponse.OkWithData(resp, c)
|
||||
commonResponse.OkWithDetailed(commonResponse.PageResult{
|
||||
List: resp.List,
|
||||
Total: resp.Total,
|
||||
Page: resp.Page,
|
||||
PageSize: resp.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// GetConversationByID
|
||||
@@ -199,7 +204,12 @@ func (a *ConversationApi) GetMessageList(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
commonResponse.OkWithData(resp, c)
|
||||
commonResponse.OkWithDetailed(commonResponse.PageResult{
|
||||
List: resp.List,
|
||||
Total: resp.Total,
|
||||
Page: resp.Page,
|
||||
PageSize: resp.PageSize,
|
||||
}, "获取成功", c)
|
||||
}
|
||||
|
||||
// RegenerateMessage
|
||||
|
||||
Reference in New Issue
Block a user