Private
Public Access
feat: funcionalidad de logs, paginacion y ui para filtros
This commit is contained in:
1 parent
3af069e9e8
commit
461c381f12
9 files changed
+259
-79
No files matched your search
@@ -2,6 +2,7 @@ package logs
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
dto_builders "repuestera_back/dto/Builders"
|
||||
r "repuestera_back/repositorios"
|
||||
"strconv"
|
||||
|
||||
@@ -31,8 +32,10 @@ func ObtenerLogs(c *gin.Context) {
|
||||
return
|
||||
}
|
||||
|
||||
logsdto := dto_builders.NewLogTablaBuilder().ConLogs(logs).Build()
|
||||
|
||||
c.JSON(http.StatusOK, gin.H{
|
||||
"logs": logs,
|
||||
"logs": logsdto,
|
||||
"maxlenght": cantpags,
|
||||
})
|
||||
}
|
||||
Reference in new issue
Block a user