diff --git a/controllers/postController.go b/controllers/postController.go index 4f66ff5..79defbd 100644 --- a/controllers/postController.go +++ b/controllers/postController.go @@ -285,6 +285,7 @@ func parseUserIDs(idsStr string) []uint { } return userIDs } + func GetLoginRecords(c *gin.Context) { var loginRecords []models.LoginRecord result := initializers.DB.Find(&loginRecords)