2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-05 02:07:18 +08:00
Files
panel/internal/http/request/app.go
2026-01-12 22:17:18 +08:00

24 lines
601 B
Go

package request
type App struct {
Slug string `json:"slug" form:"slug" validate:"required|notExists:apps,slug"`
Channel string `json:"channel" form:"channel" validate:"required"`
}
type AppSlug struct {
Slug string `json:"slug" form:"slug" validate:"required"`
}
type AppSlugs struct {
Slugs string `json:"slugs" form:"slugs" validate:"required"`
}
type AppUpdateShow struct {
Slug string `json:"slug" form:"slug" validate:"required|exists:apps,slug"`
Show bool `json:"show" form:"show"`
}
type AppUpdateOrder struct {
Slugs []string `json:"slugs" form:"slugs" validate:"required"`
}