add lofi by api
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s

This commit is contained in:
Thomas Peetz
2026-10-07 22:39:53 +02:00
parent 094dffb1c7
commit 7116869b42
6 changed files with 102 additions and 25 deletions
+4
View File
@@ -22,6 +22,10 @@ func (media_lofi *MediaLoFi) TableName() string {
return "media_lofi"
}
type MediaLofiAdd struct {
Url string `json:"url"`
}
type MediaLoFiDTO struct {
ID string `json:"id" binding:"required"`
CreatedAt helpers.KontorTime `json:"created_date"`