2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 18:27:13 +08:00
Files
panel/internal/http/request/app.go
2025-09-17 02:58:39 +08:00

20 lines
505 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"`
}