fix: field about time type (#92)

This commit is contained in:
junwen-lee
2025-07-28 00:36:14 +08:00
committed by GitHub
parent f294e19af5
commit 033df3f8ee
3 changed files with 5 additions and 4 deletions

View File

@@ -140,7 +140,7 @@ func (c *ConversationApplicationService) CreateConversation(ctx context.Context,
Id: conversationData.ID,
LastSectionID: &conversationData.SectionID,
ConnectorID: &conversationData.ConnectorID,
CreatedAt: conversationData.CreatedAt,
CreatedAt: conversationData.CreatedAt / 1000,
}
return resp, nil
}
@@ -176,7 +176,7 @@ func (c *ConversationApplicationService) ListConversation(ctx context.Context, r
Id: conv.ID,
LastSectionID: &conv.SectionID,
ConnectorID: &conv.ConnectorID,
CreatedAt: conv.CreatedAt,
CreatedAt: conv.CreatedAt / 1000,
}
})